# Latest

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

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

**Page:** 957

---

## [What is the best way to separate out indices of a variable?](https://discourse.julialang.org/t/what-is-the-best-way-to-separate-out-indices-of-a-variable/85317)

<div class="topic-metadata">

**Author:** [@A\_Green\_Leave](https://discourse.julialang.org/u/A_Green_Leave)\
**Replies:** 3\
**Last updated:** [August 10, 2022, 7:07am UTC](https://discourse.julialang.org/t/what-is-the-best-way-to-separate-out-indices-of-a-variable/85317 "2022-08-10T07:07:22Z")

</div>

Hi guys, What do you recommend to do in this situation? I have a set M consisting of three separate sets of vectors of various size. In other words M = \[m\_1, m\_2, m\_3\] where m\_i are vectors of different sizes. For ins…

---

## [Figure caption in Pluto](https://discourse.julialang.org/t/figure-caption-in-pluto/85564)

<div class="topic-metadata">

**Author:** [@grero](https://discourse.julialang.org/u/grero)\
**Replies:** 0\
**Last updated:** [August 10, 2022, 4:42am UTC](https://discourse.julialang.org/t/figure-caption-in-pluto/85564 "2022-08-10T04:42:50Z")

</div>

This may be obvious to Pluto users, but I was struggling for a while with creating captioned figures in Pluto notebooks. I used to have a cell with a Makie figure as output, followed by a Markdown cell containing the cap…

---

## [What's wrong with juliahub?](https://discourse.julialang.org/t/whats-wrong-with-juliahub/85563)

<div class="topic-metadata">

**Author:** [@Rratic](https://discourse.julialang.org/u/Rratic)\
**Replies:** 5\
**Last updated:** [August 10, 2022, 4:39am UTC](https://discourse.julialang.org/t/whats-wrong-with-juliahub/85563 "2022-08-10T04:39:29Z")

</div>

Earlier I was trying to login juliahub, but found I can’t access it. (but I can about 30 minutes ago) So I tried: julia\> request("juliahub.com") ERROR: HTTP/1.1 301 Moved Permanently (Send failure: Connection was reset)…

---

## [How to install CUDA.jl without Julia package manager](https://discourse.julialang.org/t/how-to-install-cuda-jl-without-julia-package-manager/85514)

<div class="topic-metadata">

**Author:** [@Pilbum](https://discourse.julialang.org/u/Pilbum)\
**Replies:** 14\
**Last updated:** [August 10, 2022, 3:28am UTC](https://discourse.julialang.org/t/how-to-install-cuda-jl-without-julia-package-manager/85514 "2022-08-10T03:28:29Z")

</div>

Hello all, It may be a dumb question, but I was not able to find an answer online. Due to the security reasons and firewalls, I cannot use Julia package manager which makes hard to install CUDA.jl. Is there anyway to …

---

## [Does InMemoryDatasets support the Tables interface?](https://discourse.julialang.org/t/does-inmemorydatasets-support-the-tables-interface/85457)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [August 10, 2022, 2:19am UTC](https://discourse.julialang.org/t/does-inmemorydatasets-support-the-tables-interface/85457 "2022-08-10T02:19:05Z")

</div>

See title. I wonder because it is not listed in Tables.jl/INTEGRATIONS.md at main · JuliaData/Tables.jl · GitHub .

---

## [Julia v1.8.0-rc4 is now available](https://discourse.julialang.org/t/julia-v1-8-0-rc4-is-now-available/85560)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [August 9, 2022, 10:44pm UTC](https://discourse.julialang.org/t/julia-v1-8-0-rc4-is-now-available/85560 "2022-08-09T22:44:30Z")

</div>

The Julia developers are pleased to announce that the fourth release candidate for Julia v1.8.0 is now available. Binaries are available at https://julialang.org/downloads/ in the “upcoming release” section for the follo…

---

## [Why are some release candidates (rcs) not announced?](https://discourse.julialang.org/t/why-are-some-release-candidates-rcs-not-announced/85559)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 1\
**Last updated:** [August 9, 2022, 10:43pm UTC](https://discourse.julialang.org/t/why-are-some-release-candidates-rcs-not-announced/85559 "2022-08-09T22:43:20Z")

</div>

For example: currently 1.8-rc4 is available both for download and on docs.julialang.org, but there was no announcement? Is there something different between announced and unannounced rcs?

---

## [Is dropping support for an old version of Julia a breaking change?](https://discourse.julialang.org/t/is-dropping-support-for-an-old-version-of-julia-a-breaking-change/85558)

<div class="topic-metadata">

**Author:** [@Lilith](https://discourse.julialang.org/u/Lilith)\
**Replies:** 2\
**Last updated:** [August 9, 2022, 10:30pm UTC](https://discourse.julialang.org/t/is-dropping-support-for-an-old-version-of-julia-a-breaking-change/85558 "2022-08-09T22:30:23Z")

</div>

If I have this package and I want to get rid of the version-specific code module MyPackage export do\_thing function do\_thing() VERSION \< v"1.7" && return do\_it\_the\_old\_way() ... end function do\_it\_the\_old\_wa…

---

## [How to save function output as a variable?](https://discourse.julialang.org/t/how-to-save-function-output-as-a-variable/85553)

<div class="topic-metadata">

**Author:** [@albrightand](https://discourse.julialang.org/u/albrightand)\
**Replies:** 3\
**Last updated:** [August 9, 2022, 9:11pm UTC](https://discourse.julialang.org/t/how-to-save-function-output-as-a-variable/85553 "2022-08-09T21:11:59Z")

</div>

I’m new to Julia and practicing writing functions… The function below works great, if I call it from the command line like: julia\> prime(5) \[1, 2, 3, 5\] BUT if I try to set the output of the function to a variable, th…

---

## [How to solve a limit boundary value ODE in SciML (possibly using shooting methods)](https://discourse.julialang.org/t/how-to-solve-a-limit-boundary-value-ode-in-sciml-possibly-using-shooting-methods/85509)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 6\
**Last updated:** [August 9, 2022, 9:05pm UTC](https://discourse.julialang.org/t/how-to-solve-a-limit-boundary-value-ode-in-sciml-possibly-using-shooting-methods/85509 "2022-08-09T21:05:39Z")

</div>

In many fields it is common to encounter systems of differential equations with boundary conditions that occur at limits (rather than at finite points). For example, the Neoclassical growth model boils down to a system …

---

## [Pkg.test() vs julia --project=. test/runtests.jl](https://discourse.julialang.org/t/pkg-test-vs-julia-project-test-runtests-jl/85549)

<div class="topic-metadata">

**Author:** [@cortner](https://discourse.julialang.org/u/cortner)\
**Replies:** 2\
**Last updated:** [August 9, 2022, 8:05pm UTC](https://discourse.julialang.org/t/pkg-test-vs-julia-project-test-runtests-jl/85549 "2022-08-09T20:05:03Z")

</div>

I have a package where julia --project=. test/runtests.jl shows all testss passing even after deleting the manifest and rebuilding it from scratch. But \] test fails - and I cannot for the life of me understand how the er…

---

## [Optimizing matrix multiplication code and being compatible with autodiff](https://discourse.julialang.org/t/optimizing-matrix-multiplication-code-and-being-compatible-with-autodiff/85448)

<div class="topic-metadata">

**Author:** [@SebastianCallh](https://discourse.julialang.org/u/SebastianCallh)\
**Replies:** 6\
**Last updated:** [August 9, 2022, 7:42pm UTC](https://discourse.julialang.org/t/optimizing-matrix-multiplication-code-and-being-compatible-with-autodiff/85448 "2022-08-09T19:42:20Z")

</div>

I am trying to optimize some matrix multiplications inside a Turing model (a Kalman filter) but since I am depending on autodiff I can’t pre-allocate matrices and mutate things. How does one go about optimizing this type…

---

## [Symbolics: how do I create an array of subscripted symbolic variables?](https://discourse.julialang.org/t/symbolics-how-do-i-create-an-array-of-subscripted-symbolic-variables/85530)

<div class="topic-metadata">

**Author:** [@mendeli](https://discourse.julialang.org/u/mendeli)\
**Replies:** 2\
**Last updated:** [August 9, 2022, 6:09pm UTC](https://discourse.julialang.org/t/symbolics-how-do-i-create-an-array-of-subscripted-symbolic-variables/85530 "2022-08-09T18:09:58Z")

</div>

Is there a way to automatically create an array of subscripted variables given n in Symbolics? For the case n=6, I would like to do what the code below does without having to type out the variables explicitly. using P…

---

## [ThinFilmsTools packages Error: type TMMOptics has no field beam](https://discourse.julialang.org/t/thinfilmstools-packages-error-type-tmmoptics-has-no-field-beam/85535)

<div class="topic-metadata">

**Author:** [@willliyg](https://discourse.julialang.org/u/willliyg)\
**Replies:** 4\
**Last updated:** [August 9, 2022, 5:41pm UTC](https://discourse.julialang.org/t/thinfilmstools-packages-error-type-tmmoptics-has-no-field-beam/85535 "2022-08-09T17:41:19Z")

</div>

When using the ThinFilmsTools.jl to run these examples, I always get an error of: ERROR: type TMMOptics has no field beam Stacktrace: \[1\] getproperty(x::TMMOptics{ThinFilmsTools.TransferMatrixMethod.Spectra{Float64, C…

---

## [Is there a way to list out all possible permutations of a sequence of indicator functions?](https://discourse.julialang.org/t/is-there-a-way-to-list-out-all-possible-permutations-of-a-sequence-of-indicator-functions/85532)

<div class="topic-metadata">

**Author:** [@phantom](https://discourse.julialang.org/u/phantom)\
**Replies:** 7\
**Last updated:** [August 9, 2022, 5:37pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-list-out-all-possible-permutations-of-a-sequence-of-indicator-functions/85532 "2022-08-09T17:37:43Z")

</div>

Suppose I want to list out all possible permutations of N indicator functions. e.g. if N = 2 then I would want to return (1,0),(0,1),(1,1),(0,0) Is there a function to do this in Julia? I know I can collect permutation…

---

## [Best practice for passing parameters to functions passed as parameters](https://discourse.julialang.org/t/best-practice-for-passing-parameters-to-functions-passed-as-parameters/85479)

<div class="topic-metadata">

**Author:** [@nsquare](https://discourse.julialang.org/u/nsquare)\
**Replies:** 5\
**Last updated:** [August 9, 2022, 3:47pm UTC](https://discourse.julialang.org/t/best-practice-for-passing-parameters-to-functions-passed-as-parameters/85479 "2022-08-09T15:47:13Z")

</div>

Hello! I want to write a general function with several subroutines. I would like this method to be able to use different functions as subroutines, by taking them as parameters, as shown in the toy example below. functi…

---

## [Move Announcements category further down?](https://discourse.julialang.org/t/move-announcements-category-further-down/85156)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 6\
**Last updated:** [August 9, 2022, 3:16pm UTC](https://discourse.julialang.org/t/move-announcements-category-further-down/85156 "2022-08-09T15:16:13Z")

</div>

On my phone the Announcements category takes half the space but it almost never updates. For users who visit the site more than once a month it’s kind of a waste of screen real estate. Maybe we can just move it down and …

---

## [Unsatisfiable requirements without any compat added?](https://discourse.julialang.org/t/unsatisfiable-requirements-without-any-compat-added/85541)

<div class="topic-metadata">

**Author:** [@albheim](https://discourse.julialang.org/u/albheim)\
**Replies:** 1\
**Last updated:** [August 9, 2022, 3:01pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-without-any-compat-added/85541 "2022-08-09T15:01:02Z")

</div>

Can’t figure out why this generates an error. I want to add the packages Lux and EMpht to the same environment, and it does not work. Here I have a clean temp env, Lux is first installed and then I try to add EMpht. Wh…

---

## [Broadcasting matrix-vector multiplication over specific axis for n-dimensional arrays](https://discourse.julialang.org/t/broadcasting-matrix-vector-multiplication-over-specific-axis-for-n-dimensional-arrays/85533)

<div class="topic-metadata">

**Author:** [@b-fg](https://discourse.julialang.org/u/b-fg)\
**Replies:** 3\
**Last updated:** [August 9, 2022, 2:58pm UTC](https://discourse.julialang.org/t/broadcasting-matrix-vector-multiplication-over-specific-axis-for-n-dimensional-arrays/85533 "2022-08-09T14:58:59Z")

</div>

I have a matrix-vector multiplication to fill axis=2 of my 3D array a (where basis is type Matrix): @inbounds for n ∈ 1:size(a, 1), s ∈ 1:size(a, 3) a\[n, :, s\] = @views basis \* b\[n, :, s\] end The question is how c…

---

## [Integrator AutoVern9(Rodas5) take a lot of time DifferentialEquations.jl](https://discourse.julialang.org/t/integrator-autovern9-rodas5-take-a-lot-of-time-differentialequations-jl/85470)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 8\
**Last updated:** [August 9, 2022, 2:34pm UTC](https://discourse.julialang.org/t/integrator-autovern9-rodas5-take-a-lot-of-time-differentialequations-jl/85470 "2022-08-09T14:34:50Z")

</div>

I have systems: function HR!(du, u, p, t) function sigma(x) return 1.0 / ( 1.0 + exp( -10.0 \* ( x - ( - 0.25 ) ) ) ) end a, b, c, d, s, xr, r, I, vs, k1, k2, el\_link = p x1, y1, …

---

## [Using A: B does not put in scope exported B objects](https://discourse.julialang.org/t/using-a-b-does-not-put-in-scope-exported-b-objects/85537)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 1\
**Last updated:** [August 9, 2022, 2:25pm UTC](https://discourse.julialang.org/t/using-a-b-does-not-put-in-scope-exported-b-objects/85537 "2022-08-09T14:25:10Z")

</div>

For example: julia\> module A module B export f f(x) = 1 end end Main.A julia\> using .A: B julia\> f(1) ERROR: UndefVarError: f not defined Stacktrace: \[1\] top…

---

## [Slow HTTP.jl requests when SSL is enabled](https://discourse.julialang.org/t/slow-http-jl-requests-when-ssl-is-enabled/36183)

<div class="topic-metadata">

**Author:** [@karelh](https://discourse.julialang.org/u/karelh)\
**Replies:** 9\
**Last updated:** [August 9, 2022, 2:00pm UTC](https://discourse.julialang.org/t/slow-http-jl-requests-when-ssl-is-enabled/36183 "2022-08-09T14:00:12Z")

</div>

I am using HTTP.jl library to download large files over an encrypted connection (via AWSS3 to connect to an S3-enabled datastore). I have found out that the performance is greatly degraded when encrypted connection is us…

---

## [Julia Pyplot: how to draw thick inside graph?](https://discourse.julialang.org/t/julia-pyplot-how-to-draw-thick-inside-graph/85525)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 2\
**Last updated:** [August 9, 2022, 12:42pm UTC](https://discourse.julialang.org/t/julia-pyplot-how-to-draw-thick-inside-graph/85525 "2022-08-09T12:42:37Z")

</div>

Hello, what is the syntax for drawing thicks inward? I can do this: using PyPlot clf() x = 1:10 y = broadcast(^, 2, x) p = plot(x, y, linestyle = "-", color = "red", linewidth=2) But if I use tick\_…

---

## [Julia PyPlot: how to draw thicks on both sizes of axis?](https://discourse.julialang.org/t/julia-pyplot-how-to-draw-thicks-on-both-sizes-of-axis/85527)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 3\
**Last updated:** [August 9, 2022, 12:33pm UTC](https://discourse.julialang.org/t/julia-pyplot-how-to-draw-thicks-on-both-sizes-of-axis/85527 "2022-08-09T12:33:33Z")

</div>

Hello, what is the syntax for drawing the axis on both sizes of the axis? That is, I would like the thicks not only on the bottom of the plot (x axis) but also on the upper size. Similarly, I would like the thicks on bo…

---

## [Genetic algorithms support for optimization with julia](https://discourse.julialang.org/t/genetic-algorithms-support-for-optimization-with-julia/85512)

<div class="topic-metadata">

**Author:** [@chenr86](https://discourse.julialang.org/u/chenr86)\
**Replies:** 6\
**Last updated:** [August 9, 2022, 12:09pm UTC](https://discourse.julialang.org/t/genetic-algorithms-support-for-optimization-with-julia/85512 "2022-08-09T12:09:36Z")

</div>

Hello, I’m dealing with multi-objective optimization problem. I wonder if there is any support of genetic algorithm with Julia. Besides, compared with other solvers, does GA perform well solving MOO? For example, it cos…

---

## [Simple multi-parameter bayesian linear regression returning un-expected results!](https://discourse.julialang.org/t/simple-multi-parameter-bayesian-linear-regression-returning-un-expected-results/81285)

<div class="topic-metadata">

**Author:** [@charperflow](https://discourse.julialang.org/u/charperflow)\
**Replies:** 14\
**Last updated:** [August 9, 2022, 11:20am UTC](https://discourse.julialang.org/t/simple-multi-parameter-bayesian-linear-regression-returning-un-expected-results/81285 "2022-08-09T11:20:05Z")

</div>

The problem is from chapter 10 question 7 of “Regression and Other Stories”, and the general idea is to use data which includes a continuous parameter “beauty” and then several binary predictors. I have solved the probl…

---

## [Julia PyPlot: How to increase axis font size?](https://discourse.julialang.org/t/julia-pyplot-how-to-increase-axis-font-size/85526)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 1\
**Last updated:** [August 9, 2022, 11:57am UTC](https://discourse.julialang.org/t/julia-pyplot-how-to-increase-axis-font-size/85526 "2022-08-09T11:57:40Z")

</div>

Hello, what is the syntax for increasing the axis label size in PyPlot? If I have some like this: using PyPlot clf() x = 1:10 y = broadcast(^, 2, x) p = plot(x, y, linestyle = "-", color = "red", linewi…

---

## [Intellisense not working for dev'd package](https://discourse.julialang.org/t/intellisense-not-working-for-devd-package/85522)

<div class="topic-metadata">

**Author:** [@jmair](https://discourse.julialang.org/u/jmair)\
**Replies:** 1\
**Last updated:** [August 9, 2022, 10:35am UTC](https://discourse.julialang.org/t/intellisense-not-working-for-devd-package/85522 "2022-08-09T10:35:51Z")

</div>

I have some issues with my custom package exported functions and types not being available with intellisense when writing a script which uses that package. I have separated my code into two separate environments, one is…

---

## [Using an imported struct as a type annotation](https://discourse.julialang.org/t/using-an-imported-struct-as-a-type-annotation/85477)

<div class="topic-metadata">

**Author:** [@wg12385](https://discourse.julialang.org/u/wg12385)\
**Replies:** 3\
**Last updated:** [August 9, 2022, 10:06am UTC](https://discourse.julialang.org/t/using-an-imported-struct-as-a-type-annotation/85477 "2022-08-09T10:06:11Z")

</div>

I have been running into a consistent problem which i assume is because i’m either trying to do something you’re not meant to do in julia, or i’m just doing it wrong. The core of it is i am trying to put type annotation…

---

## [Help setting up CUDA.jl and cuTENSORS](https://discourse.julialang.org/t/help-setting-up-cuda-jl-and-cutensors/85505)

<div class="topic-metadata">

**Author:** [@apateonas](https://discourse.julialang.org/u/apateonas)\
**Replies:** 1\
**Last updated:** [August 9, 2022, 8:21am UTC](https://discourse.julialang.org/t/help-setting-up-cuda-jl-and-cutensors/85505 "2022-08-09T08:21:03Z")

</div>

Hi all, I am having trouble using CUDA.jl and cuTENSOR and would appreciate your help. I’m looking to use the ITensors.jl library with GPU acceleration (via ITensorGPU), which uses CUDA and cuTENSORS. I am running this …

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

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