# Latest

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

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

**Page:** 955

---

## [A prototype of \`pkgimage\` binary cache system for reducing latency](https://discourse.julialang.org/t/a-prototype-of-pkgimage-binary-cache-system-for-reducing-latency/85610)

<div class="topic-metadata">

**Author:** [@anon56330260](https://discourse.julialang.org/u/anon56330260)\
**Replies:** 3\
**Last updated:** [August 12, 2022, 1:30pm UTC](https://discourse.julialang.org/t/a-prototype-of-pkgimage-binary-cache-system-for-reducing-latency/85610 "2022-08-12T13:30:25Z")

</div>

This is a repost from the slack. Slack doesn’t work quite well for long articles, so I decide to repost it here. Recently we (Tongyuan) have investigated into binary compilation using LLVM’s new JIT linking architecture…

---

## [Difficulty compiling in Atom](https://discourse.julialang.org/t/difficulty-compiling-in-atom/85626)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 11\
**Last updated:** [August 12, 2022, 1:29pm UTC](https://discourse.julialang.org/t/difficulty-compiling-in-atom/85626 "2022-08-12T13:29:11Z")

</div>

Hello everybody I installed julia and it’s working, but I can’t compile anything, it’s like the IDE (Atom) isn’t seeing any commands I give. Has it ever happened to anyone? What should I do? Thanks

---

## [VSCode REPL hanging after a while](https://discourse.julialang.org/t/vscode-repl-hanging-after-a-while/85585)

<div class="topic-metadata">

**Author:** [@taotree](https://discourse.julialang.org/u/taotree)\
**Replies:** 12\
**Last updated:** [August 12, 2022, 11:29am UTC](https://discourse.julialang.org/t/vscode-repl-hanging-after-a-while/85585 "2022-08-12T11:29:53Z")

</div>

This just started happening recently. After I use the integrated VSCode repl for a while, it increasingly hangs with this error: “The connection to the terminal’s pty host process is unresponsive, the terminals may stop…

---

## [Can you define variables inside a comprehension?](https://discourse.julialang.org/t/can-you-define-variables-inside-a-comprehension/85642)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 3\
**Last updated:** [August 12, 2022, 10:27am UTC](https://discourse.julialang.org/t/can-you-define-variables-inside-a-comprehension/85642 "2022-08-12T10:27:55Z")

</div>

julia\> M = \[1 2; 3 4\] 2×2 Matrix{Int64}: 1 2 3 4 julia\> M = (M + M') ./ 2.0 2×2 Matrix{Float64}: 1.0 2.5 2.5 4.0 julia\> M = \[1 2; 3 4\] 2×2 Matrix{Int64}: 1 2 3 4 julia\> \[ x = (x + x') ./ 2.0 for x in \[M\] \]…

---

## [Difficulties putting code in module (on an M1 machine) (pre-compilation, cfunctions, global variables)](https://discourse.julialang.org/t/difficulties-putting-code-in-module-on-an-m1-machine-pre-compilation-cfunctions-global-variables/84726)

<div class="topic-metadata">

**Author:** [@f.ij](https://discourse.julialang.org/u/f.ij)\
**Replies:** 4\
**Last updated:** [August 12, 2022, 10:12am UTC](https://discourse.julialang.org/t/difficulties-putting-code-in-module-on-an-m1-machine-pre-compilation-cfunctions-global-variables/84726 "2022-08-12T10:12:42Z")

</div>

I’m building an interactive simulation of a Spin Ising model and I’ve been experiencing some difficulties. I’m using QML to build an interface. Before, I had everything in a large script with a lot of global variables, a…

---

## [Call macro inside a macro with external variables escaped](https://discourse.julialang.org/t/call-macro-inside-a-macro-with-external-variables-escaped/85650)

<div class="topic-metadata">

**Author:** [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Replies:** 3\
**Last updated:** [August 12, 2022, 9:43am UTC](https://discourse.julialang.org/t/call-macro-inside-a-macro-with-external-variables-escaped/85650 "2022-08-12T09:43:33Z")

</div>

I have a problem making the following example work, it tells me @option & VectorOption are not defined: module MWE using Configurations: @option export @vopt, vopt abstract type VectorOption end macro vopt(type, ali…

---

## [Input for multiheaded dense layers in Flux](https://discourse.julialang.org/t/input-for-multiheaded-dense-layers-in-flux/85659)

<div class="topic-metadata">

**Author:** [@Marius\_123](https://discourse.julialang.org/u/Marius_123)\
**Replies:** 0\
**Last updated:** [August 12, 2022, 9:43am UTC](https://discourse.julialang.org/t/input-for-multiheaded-dense-layers-in-flux/85659 "2022-08-12T09:43:23Z")

</div>

Hello, i have as a input for my neural network basically an array of arrays. Each of these arrays should have seperate input neurons associated to them. A small example can be found below, where my training set has size…

---

## [Numpy's list of lists vs. Julia's linear indexing](https://discourse.julialang.org/t/numpys-list-of-lists-vs-julias-linear-indexing/85596)

<div class="topic-metadata">

**Author:** [@yha](https://discourse.julialang.org/u/yha)\
**Replies:** 8\
**Last updated:** [August 11, 2022, 7:03pm UTC](https://discourse.julialang.org/t/numpys-list-of-lists-vs-julias-linear-indexing/85596 "2022-08-11T19:03:42Z")

</div>

I think Numpy is truly committed to this, and that is a good thing. x\[0\]\[0\] actually is a valid index into a matrix, and in general, a\[i1\]\[i2\]...\[ik\] == a\[i1,i2,...,ik\]. Much more reasonable and useful than julia’s a\[i\]…

---

## [Isfile returns false on symlink (Windows)](https://discourse.julialang.org/t/isfile-returns-false-on-symlink-windows/85654)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 1\
**Last updated:** [August 12, 2022, 7:34am UTC](https://discourse.julialang.org/t/isfile-returns-false-on-symlink-windows/85654 "2022-08-12T07:34:10Z")

</div>

See title. Is this expected? I am on Windows 10 If there is already a symlink and I want to overwrite it, symlink errors. But isfile returns false on the symlink. Is there any way I can determine if it exists?

---

## [How to solve the problem of julia loading Moesk?](https://discourse.julialang.org/t/how-to-solve-the-problem-of-julia-loading-moesk/85467)

<div class="topic-metadata">

**Author:** [@sand\_feifsndali](https://discourse.julialang.org/u/sand_feifsndali)\
**Replies:** 2\
**Last updated:** [August 12, 2022, 3:13am UTC](https://discourse.julialang.org/t/how-to-solve-the-problem-of-julia-loading-moesk/85467 "2022-08-12T03:13:23Z")

</div>

Downloaded a MosekTools, but when using MosekTools, it will ask to build (“Mosek”), and there are various problems when building, as shown in the figure How to solve this problem, do I need to download a moesk softwa…

---

## [1.8.0rc4 not compiling on chromebook/Linux](https://discourse.julialang.org/t/1-8-0rc4-not-compiling-on-chromebook-linux/85597)

<div class="topic-metadata">

**Author:** [@Perrin\_Meyer](https://discourse.julialang.org/u/Perrin_Meyer)\
**Replies:** 7\
**Last updated:** [August 12, 2022, 2:34am UTC](https://discourse.julialang.org/t/1-8-0rc4-not-compiling-on-chromebook-linux/85597 "2022-08-12T02:34:34Z")

</div>

I’m able to build and test julia 1.7.3 on my chromebook (linux / ubuntu) (x86 core M3) However, I’ve tried building 1.8.3rc4 a couple of times, and I keep getting this error (and make cleanall does not help). thoughts?…

---

## [IloIfThen constraints for CPLEX in Julia](https://discourse.julialang.org/t/iloifthen-constraints-for-cplex-in-julia/85619)

<div class="topic-metadata">

**Author:** [@Deoch](https://discourse.julialang.org/u/Deoch)\
**Replies:** 3\
**Last updated:** [August 11, 2022, 11:58pm UTC](https://discourse.julialang.org/t/iloifthen-constraints-for-cplex-in-julia/85619 "2022-08-11T23:58:19Z")

</div>

Hello, I need to use the conditional constraints for a JuMP model with CPLEX, that would be IloIfThen in C++. Like if I have three variables x, y and z, a constraint like: If (x \>= 1) && (y \<= 2) then z == 1 I am usin…

---

## [Automatic update in Makie with Observable of vector](https://discourse.julialang.org/t/automatic-update-in-makie-with-observable-of-vector/85623)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 5\
**Last updated:** [August 11, 2022, 8:28pm UTC](https://discourse.julialang.org/t/automatic-update-in-makie-with-observable-of-vector/85623 "2022-08-11T20:28:22Z")

</div>

I need to iteratively call a Makie recipe according to an observable value. Lets say I write a recipe MyPlot and I want to iteratively call Scatter inside. using Makie @recipe(MyPlot, x) do scene Theme( re…

---

## [Why for-loop of vector multiplication is slower that dot product?](https://discourse.julialang.org/t/why-for-loop-of-vector-multiplication-is-slower-that-dot-product/85631)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 11\
**Last updated:** [August 11, 2022, 7:56pm UTC](https://discourse.julialang.org/t/why-for-loop-of-vector-multiplication-is-slower-that-dot-product/85631 "2022-08-11T19:56:11Z")

</div>

I just want to know why the .\* below is faster that for-loop product? using BenchmarkTools, LinearAlgebra S1 = rand(10000); S2 = rand(10000); S = zeros(10000); S3 = zeros(10000); n =size(S1,1) function mm!(S, S1, S2, n)…

---

## [X and y axis equal scaling](https://discourse.julialang.org/t/x-and-y-axis-equal-scaling/30366)

<div class="topic-metadata">

**Author:** [@squirrel](https://discourse.julialang.org/u/squirrel)\
**Replies:** 2\
**Last updated:** [August 11, 2022, 7:40pm UTC](https://discourse.julialang.org/t/x-and-y-axis-equal-scaling/30366 "2022-08-11T19:40:08Z")

</div>

How do I make the x and y axis have equal scaling? If can cheat it with size = (800,800), for example, but then if I add labels or a title, or change the axis limits, this requires a lot of adjusting. Is there any way I…

---

## [How can be expressed a sum of a few products, vector.\*Ref(matrix)](https://discourse.julialang.org/t/how-can-be-expressed-a-sum-of-a-few-products-vector-ref-matrix/85632)

<div class="topic-metadata">

**Author:** [@empet](https://discourse.julialang.org/u/empet)\
**Replies:** 2\
**Last updated:** [August 11, 2022, 7:35pm UTC](https://discourse.julialang.org/t/how-can-be-expressed-a-sum-of-a-few-products-vector-ref-matrix/85632 "2022-08-11T19:35:43Z")

</div>

If v is a vector, and A a matrix, then v .\*Ref(A) is a Length(v)-vector of size(A)-matrices. I want to get the matrices x,y defined here as follows: v =\[1.2, -3.1\] A =3\*rand(3,4) w= \[-4.3, 0.7\] B = rand(3,4) x, y = \[(v…

---

## [ANOVA Tests in Julia?](https://discourse.julialang.org/t/anova-tests-in-julia/1421)

<div class="topic-metadata">

**Author:** [@ibadr](https://discourse.julialang.org/u/ibadr)\
**Replies:** 76\
**Last updated:** [August 11, 2022, 7:23pm UTC](https://discourse.julialang.org/t/anova-tests-in-julia/1421 "2022-08-11T19:23:02Z")

</div>

What is the status of ANOVA tests in Julia? I looked at various packages under the JuliaStats organization, including HypothesisTests.jl, but I can’t seem to find this functionality. The closest I was able to find was in…

---

## [Help to analyze SnoopCompile results. What happens during \`boot.jl\`?](https://discourse.julialang.org/t/help-to-analyze-snoopcompile-results-what-happens-during-boot-jl/85633)

<div class="topic-metadata">

**Author:** [@guilhermebodin](https://discourse.julialang.org/u/guilhermebodin)\
**Replies:** 2\
**Last updated:** [August 11, 2022, 7:15pm UTC](https://discourse.julialang.org/t/help-to-analyze-snoopcompile-results-what-happens-during-boot-jl/85633 "2022-08-11T19:15:41Z")

</div>

Hello all! I have followed the tutorials on SnoopCompile about invalidation and inference and I still have a big question, in my case I have some parts of the code that trigger type inferences and I am working on fixing…

---

## [Broadcast over matrix dimension for multiple arguments](https://discourse.julialang.org/t/broadcast-over-matrix-dimension-for-multiple-arguments/85629)

<div class="topic-metadata">

**Author:** [@b-fg](https://discourse.julialang.org/u/b-fg)\
**Replies:** 7\
**Last updated:** [August 11, 2022, 5:16pm UTC](https://discourse.julialang.org/t/broadcast-over-matrix-dimension-for-multiple-arguments/85629 "2022-08-11T17:16:21Z")

</div>

Say I have 2 matrices, a and b. How can I call a function that expects 2 vectors by broadcasting over their (eg) rows. For example: function foo(a :: Vector, b :: Vector, c :: Float64) return (sum(a) + sum(b)) / c e…

---

## [Juliaup (v1.6.12) on windows, doesnt update, and doesnt see 1.8rc4](https://discourse.julialang.org/t/juliaup-v1-6-12-on-windows-doesnt-update-and-doesnt-see-1-8rc4/85568)

<div class="topic-metadata">

**Author:** [@jdad](https://discourse.julialang.org/u/jdad)\
**Replies:** 3\
**Last updated:** [August 11, 2022, 4:09pm UTC](https://discourse.julialang.org/t/juliaup-v1-6-12-on-windows-doesnt-update-and-doesnt-see-1-8rc4/85568 "2022-08-11T16:09:23Z")

</div>

As 1.8rc4 just came out, I was trying to update my rc channel on both Linux and Windows. On Linux, it did work (after I had to do “juliaup self update” to get it to 1.7.20). But on Windows “juliaup 1.6.12” does not see …

---

## [Checking for unique rows in classification](https://discourse.julialang.org/t/checking-for-unique-rows-in-classification/66870)

<div class="topic-metadata">

**Author:** [@cwallj](https://discourse.julialang.org/u/cwallj)\
**Replies:** 4\
**Last updated:** [August 11, 2022, 2:35pm UTC](https://discourse.julialang.org/t/checking-for-unique-rows-in-classification/66870 "2022-08-11T14:35:23Z")

</div>

Hi all! I’m very new to Julia as well as coding. I’m wanting to prep my data for a classification task. I’m trying to write a function that will look through an object of type DataFrame and find any duplicate rows that …

---

## [Accessing arguments of a symbolic expression using SymbolicUtils.jl](https://discourse.julialang.org/t/accessing-arguments-of-a-symbolic-expression-using-symbolicutils-jl/85600)

<div class="topic-metadata">

**Author:** [@hpieper14](https://discourse.julialang.org/u/hpieper14)\
**Replies:** 3\
**Last updated:** [August 11, 2022, 1:48pm UTC](https://discourse.julialang.org/t/accessing-arguments-of-a-symbolic-expression-using-symbolicutils-jl/85600 "2022-08-11T13:48:10Z")

</div>

Hi everyone, I have a question about the arguments of a symbolic expression in the case it is constructed from array variables. Suppose I have an symbolic array and I use it to construct a symbolic expression: @paramet…

---

## [Lyapunov spectrum, HyperChaos, DynamicalSystems.jl](https://discourse.julialang.org/t/lyapunov-spectrum-hyperchaos-dynamicalsystems-jl/85539)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 8\
**Last updated:** [August 11, 2022, 1:19pm UTC](https://discourse.julialang.org/t/lyapunov-spectrum-hyperchaos-dynamicalsystems-jl/85539 "2022-08-11T13:19:53Z")

</div>

I calculate lyapunov spectrum in hyperchaos. Why i have such spectrum: \[0.015581182326147337, 0.0028325903213687266, 1.0762649529273773e-6, -0.007004756972893843, -5.7866575928839605, -11.883439707053556\] For hyp…

---

## [Parallelize nested loop in v1.72](https://discourse.julialang.org/t/parallelize-nested-loop-in-v1-72/85612)

<div class="topic-metadata">

**Author:** [@bast](https://discourse.julialang.org/u/bast)\
**Replies:** 5\
**Last updated:** [August 11, 2022, 1:19pm UTC](https://discourse.julialang.org/t/parallelize-nested-loop-in-v1-72/85612 "2022-08-11T13:19:28Z")

</div>

Hi, I didn’t find any recent thread on this topic and from the documentation it seemed like development in this area was very active so I was wondering if there is some updated information. I run a simulation model tha…

---

## [How do I do a fast cumulative integration](https://discourse.julialang.org/t/how-do-i-do-a-fast-cumulative-integration/85574)

<div class="topic-metadata">

**Author:** [@owiecc](https://discourse.julialang.org/u/owiecc)\
**Replies:** 8\
**Last updated:** [August 11, 2022, 1:14pm UTC](https://discourse.julialang.org/t/how-do-i-do-a-fast-cumulative-integration/85574 "2022-08-11T13:14:02Z")

</div>

What are my options for a fast cumulative integration? I can use one of many quadrature packages but this does not scale. using QuadGK f = cos x₁ = 0.0 int\_f(x₂) = quadgk(f, x₁, x₂)\[1\] using Plots plot(\[f, int\_f\], xlim…

---

## [Looking for co-authors for animal movement and epidemiology ABM](https://discourse.julialang.org/t/looking-for-co-authors-for-animal-movement-and-epidemiology-abm/85614)

<div class="topic-metadata">

**Author:** [@franfram](https://discourse.julialang.org/u/franfram)\
**Replies:** 1\
**Last updated:** [August 11, 2022, 1:13pm UTC](https://discourse.julialang.org/t/looking-for-co-authors-for-animal-movement-and-epidemiology-abm/85614 "2022-08-11T13:13:56Z")

</div>

Hello everyone, I just started building an ABM for animal movement and epidemiology (PhD Project) Is anyone working on something similar and would like to team up? Kindly, Francis

---

## [@threads - machine stops using allocated cores during run](https://discourse.julialang.org/t/threads-machine-stops-using-allocated-cores-during-run/85330)

<div class="topic-metadata">

**Author:** [@mrVeng](https://discourse.julialang.org/u/mrVeng)\
**Replies:** 4\
**Last updated:** [August 11, 2022, 12:39pm UTC](https://discourse.julialang.org/t/threads-machine-stops-using-allocated-cores-during-run/85330 "2022-08-11T12:39:35Z")

</div>

Dear all, I have a function in a function that I can run in parallel, and I am using the ‘@threads’ macro for that. Calling that outside function takes several hours, and, at the beginning, works as expected and all int…

---

## [.. (two dots) as a operator name](https://discourse.julialang.org/t/two-dots-as-a-operator-name/85611)

<div class="topic-metadata">

**Author:** [@owiecc](https://discourse.julialang.org/u/owiecc)\
**Replies:** 5\
**Last updated:** [August 11, 2022, 11:49am UTC](https://discourse.julialang.org/t/two-dots-as-a-operator-name/85611 "2022-08-11T11:49:11Z")

</div>

IntervalSets.jl defines .. as a interval operator. I tried using ... as an operator but Julia complains that it is an invalid identifier name. This means that .. is treated somewhat special. Where can I find the list of …

---

## [How to Use Python inside Julia with py""" """ to Plot an angle between 2 vectors/lines?](https://discourse.julialang.org/t/how-to-use-python-inside-julia-with-py-to-plot-an-angle-between-2-vectors-lines/85578)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 6\
**Last updated:** [August 11, 2022, 10:54am UTC](https://discourse.julialang.org/t/how-to-use-python-inside-julia-with-py-to-plot-an-angle-between-2-vectors-lines/85578 "2022-08-11T10:54:59Z")

</div>

Hi all, this is basically still using Julia (calling Python), but I want to know whether this code works: using PyCall py""" import matplotlib.pyplot as plt from matplotlib.patches import Arc from matplotlib.lines imp…

---

## [Best of JuliaCon 2022 - Munich Social in-person](https://discourse.julialang.org/t/best-of-juliacon-2022-munich-social-in-person/84964)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 1\
**Last updated:** [August 11, 2022, 10:12am UTC](https://discourse.julialang.org/t/best-of-juliacon-2022-munich-social-in-person/84964 "2022-08-11T10:12:20Z")

</div>

:spiral\_calendar: Thursday 11th August :clock530: 17:30 CEST :round\_pushpin:locally in Munich, MPI for Physics The event is organized via meetup Best of JuliaCon 2022 - Munich Social in-person ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔…

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

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