# Latest

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

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

**Page:** 1549

---

## [How much would you consider donating monthly?](https://discourse.julialang.org/t/how-much-would-you-consider-donating-monthly/51722)

<div class="topic-metadata">

**Author:** [@OMLA](https://discourse.julialang.org/u/OMLA)\
**Replies:** 12\
**Last updated:** [December 13, 2020, 11:07am UTC](https://discourse.julialang.org/t/how-much-would-you-consider-donating-monthly/51722 "2020-12-13T11:07:45Z")

</div>

Hello! We are a non-profit association developing free and open source machine learning software based on Julia. The software will allow people to use machine learning tools without the need for programming, but with hi…

---

## [V1.3 or higher for RPI](https://discourse.julialang.org/t/v1-3-or-higher-for-rpi/51758)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 1\
**Last updated:** [December 13, 2020, 11:05am UTC](https://discourse.julialang.org/t/v1-3-or-higher-for-rpi/51758 "2020-12-13T11:05:38Z")

</div>

Are there v1.3 or higher binaries for a Raspberry Pi? I know there is a docker image and/or I could compile it myself, but I would like to test the binaries instead (might take less resources than the docker image, and …

---

## [Change type from Any to actual types](https://discourse.julialang.org/t/change-type-from-any-to-actual-types/51663)

<div class="topic-metadata">

**Author:** [@cojua8](https://discourse.julialang.org/u/cojua8)\
**Replies:** 14\
**Last updated:** [December 13, 2020, 9:48am UTC](https://discourse.julialang.org/t/change-type-from-any-to-actual-types/51663 "2020-12-13T09:48:38Z")

</div>

Hi, I have an array of strings, which are replaced by ones or missings julia\> my\_array = \["a", "b"\] 2-element Array{String,1}: "a" "b" julia\> my\_replaced\_array = replace(my\_array, "a" =\> true, "b" =\> missing) 2-ele…

---

## [Pmap usage](https://discourse.julialang.org/t/pmap-usage/51718)

<div class="topic-metadata">

**Author:** [@jmurga](https://discourse.julialang.org/u/jmurga)\
**Replies:** 1\
**Last updated:** [December 13, 2020, 7:43am UTC](https://discourse.julialang.org/t/pmap-usage/51718 "2020-12-13T07:43:26Z")

</div>

Hi everyone, I am trying to execute a custom function in my own server using pmap function. The server accounts for two physical cpus and a 24 threads. The problem is at the second execution of the functions, the numbe…

---

## [Branching in loop decrease perf by ~x5](https://discourse.julialang.org/t/branching-in-loop-decrease-perf-by-x5/51387)

<div class="topic-metadata">

**Author:** [@wizebt](https://discourse.julialang.org/u/wizebt)\
**Replies:** 6\
**Last updated:** [December 13, 2020, 7:42am UTC](https://discourse.julialang.org/t/branching-in-loop-decrease-perf-by-x5/51387 "2020-12-13T07:42:11Z")

</div>

Hi, In Julia 1.3.x version extrema function use to be much slower that minimum + maximum execution. At that time I wrote my own specialized extrema function and gained ~x3 by avoiding one test out of the two in each ite…

---

## [Canny Edge Detector-JuliaImages](https://discourse.julialang.org/t/canny-edge-detector-juliaimages/51335)

<div class="topic-metadata">

**Author:** [@Ashwani\_Rathee](https://discourse.julialang.org/u/Ashwani_Rathee)\
**Replies:** 5\
**Last updated:** [December 13, 2020, 7:32am UTC](https://discourse.julialang.org/t/canny-edge-detector-juliaimages/51335 "2020-12-13T07:32:04Z")

</div>

I am trying to implement canny edge detector on my own created image using array functionalities using Images, FileIO, ImageShow, ImageFiltering,TestImages,ImageFeatures,ImageTransformations,CoordinateTransformations, …

---

## [Creating a Julia Tutorial github](https://discourse.julialang.org/t/creating-a-julia-tutorial-github/51746)

<div class="topic-metadata">

**Author:** [@jamesthesnake](https://discourse.julialang.org/u/jamesthesnake)\
**Replies:** 1\
**Last updated:** [December 13, 2020, 3:46am UTC](https://discourse.julialang.org/t/creating-a-julia-tutorial-github/51746 "2020-12-13T03:46:45Z")

</div>

https://github.com/kowainik/learn4haskell In this model ^ Willing to accept help but think it’s a great tool for langauge adoption.

---

## [Gadfly ERROR: MethodError: no method matching evalmapping(::DataFrame, ::Measures.Length{:mm,Float64})](https://discourse.julialang.org/t/gadfly-error-methoderror-no-method-matching-evalmapping-dataframe-measures-length-mm-float64/51754)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 1\
**Last updated:** [December 13, 2020, 3:31am UTC](https://discourse.julialang.org/t/gadfly-error-methoderror-no-method-matching-evalmapping-dataframe-measures-length-mm-float64/51754 "2020-12-13T03:31:17Z")

</div>

Can somebody explain the error I get when running this: draw(SVG("/tmp/ex.svg", 30cm, 20cm), plot(layer(DataFrame(x=\[1, 2, 3\], y=\[5, 6, 9\]), x=:x, y=:y, size=1pt, Geom.point, Theme(highlight\_width=0pt)))) ERROR: Method…

---

## [Mul! vs SparseMatrix](https://discourse.julialang.org/t/mul-vs-sparsematrix/51720)

<div class="topic-metadata">

**Author:** [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Replies:** 2\
**Last updated:** [December 12, 2020, 10:22pm UTC](https://discourse.julialang.org/t/mul-vs-sparsematrix/51720 "2020-12-12T22:22:55Z")

</div>

I’m trying to use mul! to compute the product of a sparse matrix and a sparse diagonal matrix. My problem is that mul! allocates very litte, but takes a lot more time than a matrix multiply. Is this what’s supposed to h…

---

## [Load Package Multirate](https://discourse.julialang.org/t/load-package-multirate/51731)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 2\
**Last updated:** [December 12, 2020, 7:26pm UTC](https://discourse.julialang.org/t/load-package-multirate/51731 "2020-12-12T19:26:09Z")

</div>

I would like to do a lowpass filter and decimate operation. It seems that the “Multrate” package has an extension to the filter method in “DSP” that would be ideal. When I try to load this package I get the error, ERR…

---

## [Why is there a type "Pair"?](https://discourse.julialang.org/t/why-is-there-a-type-pair/51698)

<div class="topic-metadata">

**Author:** [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Replies:** 7\
**Last updated:** [December 12, 2020, 5:56pm UTC](https://discourse.julialang.org/t/why-is-there-a-type-pair/51698 "2020-12-12T17:56:34Z")

</div>

I recently learned of the existence of the =\> operator, which forms an element of type Pair: julia\> 2 =\> ones(4) 2 =\> \[1.0, 1.0, 1.0, 1.0\] which makes a Pair. I just assumed Pair was a convenience type synonym for a le…

---

## [\[FAQ\]If I have big big loop, How to reduce the running time](https://discourse.julialang.org/t/faq-if-i-have-big-big-loop-how-to-reduce-the-running-time/51717)

<div class="topic-metadata">

**Author:** [@ZhouZhuofei](https://discourse.julialang.org/u/ZhouZhuofei)\
**Replies:** 8\
**Last updated:** [December 12, 2020, 5:33pm UTC](https://discourse.julialang.org/t/faq-if-i-have-big-big-loop-how-to-reduce-the-running-time/51717 "2020-12-12T17:33:17Z")

</div>

For example: if n = One trillion for \_ in 1:n ###### end in python, binary expansion can help, how to do in Julia. add more information about: import .Base: \*, + struct FieldElement Num::BigInt Prime::BigIn…

---

## [NamedTuple type is unstable, or my usage is wrong?](https://discourse.julialang.org/t/namedtuple-type-is-unstable-or-my-usage-is-wrong/51644)

<div class="topic-metadata">

**Author:** [@Zq\_F](https://discourse.julialang.org/u/Zq_F)\
**Replies:** 5\
**Last updated:** [December 12, 2020, 4:56pm UTC](https://discourse.julialang.org/t/namedtuple-type-is-unstable-or-my-usage-is-wrong/51644 "2020-12-12T16:56:45Z")

</div>

Hello everyone help me see a question, I want to define a NamedTuple type that can accept multiple parameters, but I can’t do it well. pm::NamedTuple((:b, ),Tuple(Int64)) #This definition is fast, but it can only accep…

---

## [BandedBlockBanded construction](https://discourse.julialang.org/t/bandedblockbanded-construction/51725)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 0\
**Last updated:** [December 12, 2020, 4:21pm UTC](https://discourse.julialang.org/t/bandedblockbanded-construction/51725 "2020-12-12T16:21:41Z")

</div>

Hi, I have a block tri-diagonal matrix and I would like to try the solver associated to a BandedBlockBanded matrix (see here). I can easily construct the sparse matrix Nx = 10 Ny = 10 T = spdiagm(0=\> rand(Nx\*Ny), -1=\> …

---

## [\[ANN\] NodesAndModes.jl: orthogonal polynomials and interpolation nodes on common reference elements](https://discourse.julialang.org/t/ann-nodesandmodes-jl-orthogonal-polynomials-and-interpolation-nodes-on-common-reference-elements/51165)

<div class="topic-metadata">

**Author:** [@jlchan](https://discourse.julialang.org/u/jlchan)\
**Replies:** 7\
**Last updated:** [December 12, 2020, 4:17pm UTC](https://discourse.julialang.org/t/ann-nodesandmodes-jl-orthogonal-polynomials-and-interpolation-nodes-on-common-reference-elements/51165 "2020-12-12T16:17:02Z")

</div>

NodesAndModes.jl is a package to compute “nodes” (interpolation and quadrature points) and “modes” (orthogonal polynomials) on various reference elements for use in high order finite element or discontinuous Galerkin met…

---

## [Julia nightly 1.7 vs 1.6](https://discourse.julialang.org/t/julia-nightly-1-7-vs-1-6/51721)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 1\
**Last updated:** [December 12, 2020, 4:09pm UTC](https://discourse.julialang.org/t/julia-nightly-1-7-vs-1-6/51721 "2020-12-12T16:09:02Z")

</div>

I tried building Julia 1.6 the other day on Windows but failed(only the 32bit version was successful), so I decided to give up and try the nightly build, which, surprisingly, is the 1.7 DEV version. Does the 1.7 contain …

---

## [Julia stopped working on Atom](https://discourse.julialang.org/t/julia-stopped-working-on-atom/51674)

<div class="topic-metadata">

**Author:** [@pedrodegiovanni](https://discourse.julialang.org/u/pedrodegiovanni)\
**Replies:** 3\
**Last updated:** [December 12, 2020, 3:56pm UTC](https://discourse.julialang.org/t/julia-stopped-working-on-atom/51674 "2020-12-12T15:56:53Z")

</div>

Hi! As the title says, I can no longer use Juno on Atom. Yesterday I couldn’t install a package because of “Unsatisfiable requirements detected for package Colors”. Following another thread’s advice, I used Pkg.rm(“Colo…

---

## [Custom linear system solver](https://discourse.julialang.org/t/custom-linear-system-solver/22094)

<div class="topic-metadata">

**Author:** [@pupuyuyu](https://discourse.julialang.org/u/pupuyuyu)\
**Replies:** 4\
**Last updated:** [December 9, 2020, 9:02am UTC](https://discourse.julialang.org/t/custom-linear-system-solver/22094 "2020-12-09T09:02:46Z")

</div>

Hi there, I am new to julia. I am trying to write a function to solve tridiagonal matrix system by Thomas Algorithm Here is my code function TDMA(a,b,c,D) # Thomas Algorithm # Vectors a,b,c have the same length # S…

---

## [Iterating over row in a DataFrame](https://discourse.julialang.org/t/iterating-over-row-in-a-dataframe/51662)

<div class="topic-metadata">

**Author:** [@tlorans](https://discourse.julialang.org/u/tlorans)\
**Replies:** 8\
**Last updated:** [December 12, 2020, 3:19pm UTC](https://discourse.julialang.org/t/iterating-over-row-in-a-dataframe/51662 "2020-12-12T15:19:51Z")

</div>

Hello, I wish I could implement one of my Python models on Julia, but have been stuck for hours on the basic iteration problem in the context of the Julia language. Basically, I just want to iterate over each row of my…

---

## [Julia equivalent to r's source](https://discourse.julialang.org/t/julia-equivalent-to-rs-source/51719)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 1\
**Last updated:** [December 12, 2020, 2:46pm UTC](https://discourse.julialang.org/t/julia-equivalent-to-rs-source/51719 "2020-12-12T14:46:27Z")

</div>

Hello, it is possible to import some functions defined in a separate file (e.g. funCollection.jl) into another file (e.g. file.jl)? Essentially I am looking for the julai version of R’s source. Thank you

---

## [A lot of big sparse matrices](https://discourse.julialang.org/t/a-lot-of-big-sparse-matrices/51696)

<div class="topic-metadata">

**Author:** [@Avec](https://discourse.julialang.org/u/Avec)\
**Replies:** 8\
**Last updated:** [December 12, 2020, 2:35pm UTC](https://discourse.julialang.org/t/a-lot-of-big-sparse-matrices/51696 "2020-12-12T14:35:07Z")

</div>

Hi everyone, I need to get a sum of approx 10000 matrices, that are constructed by multiplication with sparse matrices. using LinearAlgebra, SparseArrays n = 101 p = 101 m = 25 #indK = sprand(m, n^2\*p^2, 0.2) EDIT on …

---

## [Julia DifferentialEquations: modify multiple states of the integrator at once](https://discourse.julialang.org/t/julia-differentialequations-modify-multiple-states-of-the-integrator-at-once/51705)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 2\
**Last updated:** [December 12, 2020, 1:37pm UTC](https://discourse.julialang.org/t/julia-differentialequations-modify-multiple-states-of-the-integrator-at-once/51705 "2020-12-12T13:37:52Z")

</div>

Hello, I have this model of interactions between bacteria and phages: using DifferentialEquations function payneJansenODE!(du, u, p, t) μ , φ, η, β, ω = p H = h = 0 #= du\[1\] = susceptible du\[2\] …

---

## [Syevd is absent in LinearAlgebra.LAPACK](https://discourse.julialang.org/t/syevd-is-absent-in-linearalgebra-lapack/51714)

<div class="topic-metadata">

**Author:** [@Jae-Mo\_Lihm](https://discourse.julialang.org/u/Jae-Mo_Lihm)\
**Replies:** 0\
**Last updated:** [December 12, 2020, 12:48pm UTC](https://discourse.julialang.org/t/syevd-is-absent-in-linearalgebra-lapack/51714 "2020-12-12T12:48:35Z")

</div>

In the LinearAlgebra package, functions LAPACK.syev! and LAPACK.syevr! for solving the eigenvalue problem are present. But, LAPACK.syevd! is absent. As I understand, the ?syevd (and its Hermitian counterpart, zheevd) al…

---

## [Bib reference updating software](https://discourse.julialang.org/t/bib-reference-updating-software/51654)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 4\
**Last updated:** [December 12, 2020, 1:08pm UTC](https://discourse.julialang.org/t/bib-reference-updating-software/51654 "2020-12-12T13:08:56Z")

</div>

Suppose you have a paper written in LaTeX, with references in a .bib file. While the paper went from early draft to its current state, some references of other working papers inevitable changed a bit: papers got publishe…

---

## [High Energy Physics (HEP) folks on Julia?](https://discourse.julialang.org/t/high-energy-physics-hep-folks-on-julia/15330)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 100\
**Last updated:** [December 12, 2020, 1:07pm UTC](https://discourse.julialang.org/t/high-energy-physics-hep-folks-on-julia/15330 "2020-12-12T13:07:32Z")

</div>

Maybe it’s not the most suitable domain but imo close enough. For reference, ROOT refers to ROOT/CERN Really enjoyed using Julia for a while and trying to apply it to more study/research replated works. I noticed the…

---

## [Getting base type name in julia 1.6](https://discourse.julialang.org/t/getting-base-type-name-in-julia-1-6/51646)

<div class="topic-metadata">

**Author:** [@AsafManela](https://discourse.julialang.org/u/AsafManela)\
**Replies:** 4\
**Last updated:** [December 12, 2020, 12:38pm UTC](https://discourse.julialang.org/t/getting-base-type-name-in-julia-1-6/51646 "2020-12-12T12:38:32Z")

</div>

I am trying to get the base type name of an instance of a parametric type. In julia up to 1.5 I would use typeof(obj).name which would do what I want. But something changed in current nightlies. For example, in 1.6: …

---

## [Recursively generating a tuple from intermediate neural network outputs](https://discourse.julialang.org/t/recursively-generating-a-tuple-from-intermediate-neural-network-outputs/51687)

<div class="topic-metadata">

**Author:** [@maxfreu](https://discourse.julialang.org/u/maxfreu)\
**Replies:** 2\
**Last updated:** [December 12, 2020, 10:07am UTC](https://discourse.julialang.org/t/recursively-generating-a-tuple-from-intermediate-neural-network-outputs/51687 "2020-12-12T10:07:36Z")

</div>

Hi, I have different neural network “encoders” and would like to generate a tuple containing the output of intermediate stages. The encoders and the number of their stages vary. So essentially I want to automate and flex…

---

## [Mixture Model fitting with Turing](https://discourse.julialang.org/t/mixture-model-fitting-with-turing/51706)

<div class="topic-metadata">

**Author:** [@asjir](https://discourse.julialang.org/u/asjir)\
**Replies:** 0\
**Last updated:** [December 12, 2020, 9:11am UTC](https://discourse.julialang.org/t/mixture-model-fitting-with-turing/51706 "2020-12-12T09:11:16Z")

</div>

logpdf for a MixtureModel fails to differentiate (for me at least with all AD backends), prohibiting use of Hamiltonian MC and its derivatives for fitting models. The easy workaround is writing Distributions.logpdf(m::M…

---

## [Question regarding push! and array of arrays](https://discourse.julialang.org/t/question-regarding-push-and-array-of-arrays/51695)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 4\
**Last updated:** [December 12, 2020, 7:10am UTC](https://discourse.julialang.org/t/question-regarding-push-and-array-of-arrays/51695 "2020-12-12T07:10:25Z")

</div>

Hello, I have a question about a very unexpected behavior I encountered, I’d like an ELI5. Why does this: vi = fill(Int\[\], 5) vi\[2\] = \[5,6\] push!(vi\[3\], 9) result in \[9\] \[5, 6\] \[9\] \[9\] \[9\] instead of in \[\] \[…

---

## [Plots -\>Label Position](https://discourse.julialang.org/t/plots-label-position/51691)

<div class="topic-metadata">

**Author:** [@Aquaman](https://discourse.julialang.org/u/Aquaman)\
**Replies:** 1\
**Last updated:** [December 12, 2020, 7:06am UTC](https://discourse.julialang.org/t/plots-label-position/51691 "2020-12-12T07:06:52Z")

</div>

Dear All, how can we define the position of the label in the figure, when “Plots” is in use? Best!

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

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