# Latest

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

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

**Page:** 1026

---

## [CompatHelper workflows disabled after 60 days of inactivity](https://discourse.julialang.org/t/compathelper-workflows-disabled-after-60-days-of-inactivity/48870)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 13\
**Last updated:** [May 30, 2022, 4:05pm UTC](https://discourse.julialang.org/t/compathelper-workflows-disabled-after-60-days-of-inactivity/48870 "2022-05-30T16:05:54Z")

</div>

I recently learned that Github disables workflows after 60 days of repo inactivity, from e-mails like \[GitHub\] The “CompatHelper” workflow in tpapp/… will be disabled soon Scheduled workflows are disabled automaticall…

---

## [\[ANN\] Required updates to TagBot.yml](https://discourse.julialang.org/t/ann-required-updates-to-tagbot-yml/49249)

<div class="topic-metadata">

**Author:** [@christopher-dG](https://discourse.julialang.org/u/christopher-dG)\
**Replies:** 19\
**Last updated:** [May 30, 2022, 3:45pm UTC](https://discourse.julialang.org/t/ann-required-updates-to-tagbot-yml/49249 "2022-05-30T15:45:33Z")

</div>

Hi all, remember when I said that you’d never have to do any maintenance on your TagBot.yml files? I lied, I’m sorry. GitHub has started automatically disabling Actions workflows that run on a schedule for repositories…

---

## [Ordering Of Matrix Columns](https://discourse.julialang.org/t/ordering-of-matrix-columns/81917)

<div class="topic-metadata">

**Author:** [@xztt](https://discourse.julialang.org/u/xztt)\
**Replies:** 9\
**Last updated:** [May 30, 2022, 3:17pm UTC](https://discourse.julialang.org/t/ordering-of-matrix-columns/81917 "2022-05-30T15:17:10Z")

</div>

Hi, I have a matrix of size 9x100 9×100 Matrix{Float64}: 1.08563 1.20562 1.26562 1.14562 1.17562 1.29562 1.23562 1.11563 1.13062 … 1.15031 1.27031 1.21031 1.09031 1…

---

## [Software & ML Engineer @ Leuko (Madrid office)](https://discourse.julialang.org/t/software-ml-engineer-leuko-madrid-office/69079)

<div class="topic-metadata">

**Author:** [@ianshmean](https://discourse.julialang.org/u/ianshmean)\
**Replies:** 3\
**Last updated:** [May 30, 2022, 12:22pm UTC](https://discourse.julialang.org/t/software-ml-engineer-leuko-madrid-office/69079 "2022-05-30T12:22:39Z")

</div>

We’re looking for a Software & Machine Learning Engineer to join our Madrid team. Feel free to reach out to me on here or slack!

---

## ['^' does not behave as expected - moderator (because it is pow and not XOR)](https://discourse.julialang.org/t/does-not-behave-as-expected-moderator-because-it-is-pow-and-not-xor/81916)

<div class="topic-metadata">

**Author:** [@Hagbard.1930](https://discourse.julialang.org/u/Hagbard.1930)\
**Replies:** 4\
**Last updated:** [May 30, 2022, 2:43pm UTC](https://discourse.julialang.org/t/does-not-behave-as-expected-moderator-because-it-is-pow-and-not-xor/81916 "2022-05-30T14:43:33Z")

</div>

---

## [Different versions of same package in dependency graph](https://discourse.julialang.org/t/different-versions-of-same-package-in-dependency-graph/81895)

<div class="topic-metadata">

**Author:** [@HashBrown](https://discourse.julialang.org/u/HashBrown)\
**Replies:** 4\
**Last updated:** [May 30, 2022, 2:30pm UTC](https://discourse.julialang.org/t/different-versions-of-same-package-in-dependency-graph/81895 "2022-05-30T14:30:24Z")

</div>

Suppose I create a project environment and add packages P1@2.0.0 and P2@2.0.0. And lets say P1@2.0.0 depends on P2@1.0.0. Does this create a conflict (like it does in Python)? Or will Julia take care of this and use P2@2…

---

## [Why julia has no clear(variable)?](https://discourse.julialang.org/t/why-julia-has-no-clear-variable/6541)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 17\
**Last updated:** [May 30, 2022, 2:05pm UTC](https://discourse.julialang.org/t/why-julia-has-no-clear-variable/6541 "2022-05-30T14:05:51Z")

</div>

Here is a quote from the documentation Julia does not have an analog of MATLAB’s clear function; once a name is defined in a Julia session (technically, in module Main), it is always present. If memory usage is your c…

---

## [\`ReadOnlyMemoryError\` in PyCall](https://discourse.julialang.org/t/readonlymemoryerror-in-pycall/81907)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 6\
**Last updated:** [May 30, 2022, 2:02pm UTC](https://discourse.julialang.org/t/readonlymemoryerror-in-pycall/81907 "2022-05-30T14:02:34Z")

</div>

Hi all :slight\_smile: I get some wired ReadOnlyMemoryError on a beefy windows machine. I’m using PyCall to fetch data from Snowflake. Any idea why this sometimes happens? Cheers ReadOnlyMemoryError() Stacktrace: \[1\]…

---

## [Julia-Vim tutorial for newbies](https://discourse.julialang.org/t/julia-vim-tutorial-for-newbies/36636)

<div class="topic-metadata">

**Author:** [@sbacelar](https://discourse.julialang.org/u/sbacelar)\
**Replies:** 29\
**Last updated:** [July 21, 2021, 5:51pm UTC](https://discourse.julialang.org/t/julia-vim-tutorial-for-newbies/36636 "2021-07-21T17:51:58Z")

</div>

Does anyone know about a simple introduction to Julia-Vim? I read the plugin help but I couldn’t find any reference to first steps. My idea is: a) a simple setup for running Julia files; b) how to run them.

---

## [Scale and Location to TDist in Distributions](https://discourse.julialang.org/t/scale-and-location-to-tdist-in-distributions/74360)

<div class="topic-metadata">

**Author:** [@Dominic\_Pazzula](https://discourse.julialang.org/u/Dominic_Pazzula)\
**Replies:** 7\
**Last updated:** [May 30, 2022, 1:00pm UTC](https://discourse.julialang.org/t/scale-and-location-to-tdist-in-distributions/74360 "2022-05-30T13:00:35Z")

</div>

Is there any reason not to have a scale and location parameter in TDist in the Distributions package? I was trying to do a MLE with a Generalized T distribution when I realized it wasn’t available out of the box. Not h…

---

## [Error: no BLAS/LAPACK library loaded!](https://discourse.julialang.org/t/error-no-blas-lapack-library-loaded/81896)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 4\
**Last updated:** [May 30, 2022, 12:53pm UTC](https://discourse.julialang.org/t/error-no-blas-lapack-library-loaded/81896 "2022-05-30T12:53:07Z")

</div>

This error started popping up. Is there a cure?

---

## [Read multiple csv files from S3](https://discourse.julialang.org/t/read-multiple-csv-files-from-s3/81910)

<div class="topic-metadata">

**Author:** [@Billpete002](https://discourse.julialang.org/u/Billpete002)\
**Replies:** 4\
**Last updated:** [May 30, 2022, 12:24pm UTC](https://discourse.julialang.org/t/read-multiple-csv-files-from-s3/81910 "2022-05-30T12:24:57Z")

</div>

Hi all, I am trying to load multiple csv files from an s3 source but I seem to be hitting a roadblock when trying to use the local method of doing so (glob, csv, dataframes) and trying to incorporate AWSS3: p = S3Path(…

---

## [Create uninitialised mutable struct](https://discourse.julialang.org/t/create-uninitialised-mutable-struct/81913)

<div class="topic-metadata">

**Author:** [@andrew\_s](https://discourse.julialang.org/u/andrew_s)\
**Replies:** 1\
**Last updated:** [May 30, 2022, 12:23pm UTC](https://discourse.julialang.org/t/create-uninitialised-mutable-struct/81913 "2022-05-30T12:23:25Z")

</div>

I have a mutable struct, E.g. mutable struct MyExampleStruct a::Cdouble b::Cdouble end which I wish to create with uninitialised fields. I don’t want to use an inner constructor to achieve this. This will be passed t…

---

## [Pass struct from module to distributed worker](https://discourse.julialang.org/t/pass-struct-from-module-to-distributed-worker/81905)

<div class="topic-metadata">

**Author:** [@rikh](https://discourse.julialang.org/u/rikh)\
**Replies:** 0\
**Last updated:** [May 30, 2022, 8:14am UTC](https://discourse.julialang.org/t/pass-struct-from-module-to-distributed-worker/81905 "2022-05-30T08:14:38Z")

</div>

For Pluto.jl, I’m trying to pass a struct from a module on the main process to a distributed worker (Return a \`Rich\` object instead of \`Dict\` for \`show\_richest\` by rikhuijzer · Pull Request #2139 · fonsp/Pluto.jl · GitHu…

---

## [A few resources to help enable using Distributed.jl on a SLURM cluster](https://discourse.julialang.org/t/a-few-resources-to-help-enable-using-distributed-jl-on-a-slurm-cluster/81911)

<div class="topic-metadata">

**Author:** [@jmair](https://discourse.julialang.org/u/jmair)\
**Replies:** 0\
**Last updated:** [May 30, 2022, 11:38am UTC](https://discourse.julialang.org/t/a-few-resources-to-help-enable-using-distributed-jl-on-a-slurm-cluster/81911 "2022-05-30T11:38:06Z")

</div>

I created some resources for a few colleagues new to Julia, to enable them to use our SLURM cluster effectively, using existing packages like Distributed.jl and ClusterManagers.jl. These scripts and resources do nothing…

---

## [How can I improve this piece of code?](https://discourse.julialang.org/t/how-can-i-improve-this-piece-of-code/81871)

<div class="topic-metadata">

**Author:** [@vamp](https://discourse.julialang.org/u/vamp)\
**Replies:** 2\
**Last updated:** [May 30, 2022, 11:35am UTC](https://discourse.julialang.org/t/how-can-i-improve-this-piece-of-code/81871 "2022-05-30T11:35:11Z")

</div>

Hello, I am new to Julia and I’m trying to do one of my first codes. I have created two Structs that can be described as follows: struct Struct1 a::Int b::SVector{value1, Int} c::Int end struct Struct2…

---

## [Iteration over OffsetArray](https://discourse.julialang.org/t/iteration-over-offsetarray/81893)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 16\
**Last updated:** [May 30, 2022, 11:33am UTC](https://discourse.julialang.org/t/iteration-over-offsetarray/81893 "2022-05-30T11:33:33Z")

</div>

From this comment, I learned that for i = eachindex(v) is preferred to for i = 1:length(v) when iterating over v::AbstractVector, because AbstractVector may not support 1-based indexing (e.g., OffsecArrays.jl). eachinde…

---

## [SCS Indirect Solver Parallelized?](https://discourse.julialang.org/t/scs-indirect-solver-parallelized/81687)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 5\
**Last updated:** [May 30, 2022, 9:36am UTC](https://discourse.julialang.org/t/scs-indirect-solver-parallelized/81687 "2022-05-30T09:36:09Z")

</div>

Is it possible to permit the SCS.jl indirect solver to parallelize its computations with multiple threads running on a multi-core CPU? I am trying to solve a very large LP. problem: variables n: 47251695, constraints m…

---

## [Mv() in Windows](https://discourse.julialang.org/t/mv-in-windows/81904)

<div class="topic-metadata">

**Author:** [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Replies:** 6\
**Last updated:** [May 30, 2022, 9:22am UTC](https://discourse.julialang.org/t/mv-in-windows/81904 "2022-05-30T09:22:19Z")

</div>

I have two directories A and B(preexisting, with files in them) and I want to move, or copy the files inside A to B - without loosing previous content of B. So I type mv(A\*"\\\\\*",B) but get 'B' exists. \`force=true\` i…

---

## [Define / edit sysimage attributes with julia?](https://discourse.julialang.org/t/define-edit-sysimage-attributes-with-julia/81786)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 1\
**Last updated:** [May 30, 2022, 9:14am UTC](https://discourse.julialang.org/t/define-edit-sysimage-attributes-with-julia/81786 "2022-05-30T09:14:52Z")

</div>

I’ve developed a package that is a bit heavy to load, so I compiled a sysimage using PackageCompiler to get a faster load time. As I work on a windows system, this gets me a .dll file. In order to track the metadata as…

---

## [Get integer type of specified width](https://discourse.julialang.org/t/get-integer-type-of-specified-width/81900)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 1\
**Last updated:** [May 30, 2022, 6:52am UTC](https://discourse.julialang.org/t/get-integer-type-of-specified-width/81900 "2022-05-30T06:52:46Z")

</div>

Is there a nicer way of implementing this? Perhaps without hardcoding UInts of specific sizes? # Inverse sizeof, basically. of\_exact\_size(::Val{1}) = UInt8 of\_exact\_size(::Val{2}) = UInt16 of\_exact\_size(::Val{4}) = U…

---

## [Failed to precompile DifferentialEquations v1.6.2](https://discourse.julialang.org/t/failed-to-precompile-differentialequations-v1-6-2/81447)

<div class="topic-metadata">

**Author:** [@Aminath\_Shausan](https://discourse.julialang.org/u/Aminath_Shausan)\
**Replies:** 16\
**Last updated:** [May 30, 2022, 5:50am UTC](https://discourse.julialang.org/t/failed-to-precompile-differentialequations-v1-6-2/81447 "2022-05-30T05:50:46Z")

</div>

Hi I am trying to replicate the example from Turing. But I am struggling to understand why DifferentialEquations fails to precompile. I am using Julia v1.6.2 on Jupyter notebook. Here is the error msg: Failed to precom…

---

## [Is there a way I can identity Dict just like identity Vector?](https://discourse.julialang.org/t/is-there-a-way-i-can-identity-dict-just-like-identity-vector/81897)

<div class="topic-metadata">

**Author:** [@Brian1](https://discourse.julialang.org/u/Brian1)\
**Replies:** 3\
**Last updated:** [May 30, 2022, 5:24am UTC](https://discourse.julialang.org/t/is-there-a-way-i-can-identity-dict-just-like-identity-vector/81897 "2022-05-30T05:24:43Z")

</div>

I often identity Vector: vec\_a=Any\[1,2,3\] 3-element Vector{Any}: 1 2 3 identity.(vec\_a) 3-element Vector{Int64}: 1 2 3 But when I have a Dict: dict\_a=Dict{S,Any}(:a=\>1,:b=\>2) Dict{Symbol, Any} with 2 entries: …

---

## [LAPACK function not found](https://discourse.julialang.org/t/lapack-function-not-found/81886)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 9\
**Last updated:** [May 30, 2022, 5:11am UTC](https://discourse.julialang.org/t/lapack-function-not-found/81886 "2022-05-30T05:11:24Z")

</div>

In rewriting fortran code I found it useful to call LAPACK code directly. function dgetrf!(m::IT, n::IT, A::SubArray{FT, 1, Vector{FT}, Tuple{UnitRange{IT}}, true}, lda::IT, ipiv::SubArray{IT, 1, Vector{IT}, Tuple{UnitR…

---

## [Porting from Python optimize.broyden2](https://discourse.julialang.org/t/porting-from-python-optimize-broyden2/81874)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [May 30, 2022, 4:35am UTC](https://discourse.julialang.org/t/porting-from-python-optimize-broyden2/81874 "2022-05-30T04:35:23Z")

</div>

Still porting code from Python… What is a good alternative to the optimize.broyden2 solver from SciPy? https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.broyden2.html

---

## [Naive lookup table with lots of allocations](https://discourse.julialang.org/t/naive-lookup-table-with-lots-of-allocations/65457)

<div class="topic-metadata">

**Author:** [@daviddoij](https://discourse.julialang.org/u/daviddoij)\
**Replies:** 11\
**Last updated:** [May 30, 2022, 3:30am UTC](https://discourse.julialang.org/t/naive-lookup-table-with-lots-of-allocations/65457 "2022-05-30T03:30:48Z")

</div>

Hi there, going through project euler problems, I’ve implemented a working solution for problem 17: function num2letters(num) nums = Dict( 0 =\> "", 1 =\> "one", 2 =\> "two", 3 =\> "three", 4 =\> "four", 5 =\> "f…

---

## [WebIO Installation Problem](https://discourse.julialang.org/t/webio-installation-problem/81892)

<div class="topic-metadata">

**Author:** [@rnayebi](https://discourse.julialang.org/u/rnayebi)\
**Replies:** 0\
**Last updated:** [May 30, 2022, 1:21am UTC](https://discourse.julialang.org/t/webio-installation-problem/81892 "2022-05-30T01:21:16Z")

</div>

I was trying to use the @manipulate macro using the Interact package in my regular Jupyter Notebook. But I was having trouble with this. I tried uninstalling and reinstalling as instructed to here IJulia (Jupyter) · WebI…

---

## [Adaptive mesh refinement in JuMP](https://discourse.julialang.org/t/adaptive-mesh-refinement-in-jump/81864)

<div class="topic-metadata">

**Author:** [@Kieran\_Marray](https://discourse.julialang.org/u/Kieran_Marray)\
**Replies:** 2\
**Last updated:** [May 30, 2022, 12:01am UTC](https://discourse.julialang.org/t/adaptive-mesh-refinement-in-jump/81864 "2022-05-30T00:01:30Z")

</div>

I have a non-linear programming problem similar to the space shuttle problem in the JuMP tutorial Optimal control for a Space Shuttle reentry trajectory · JuMP. I want to implement adaptive mesh refinement to ensure an a…

---

## [ArgumentError: invalid index: 1.0 of type Float64](https://discourse.julialang.org/t/argumenterror-invalid-index-1-0-of-type-float64/81862)

<div class="topic-metadata">

**Author:** [@kip0d](https://discourse.julialang.org/u/kip0d)\
**Replies:** 3\
**Last updated:** [May 29, 2022, 11:51pm UTC](https://discourse.julialang.org/t/argumenterror-invalid-index-1-0-of-type-float64/81862 "2022-05-29T23:51:02Z")

</div>

Hi all, I get that error when I’m trying to run this code: filename="channelABCD\_2021-12-31\_10-20-45.wav" y,Fs = wavread(filename) Y=y\[1:3.6e7,2\] ERROR: ArgumentError: invalid index: 1.0 of type Float64 Thank you for…

---

## [Destructuring Type Parameters](https://discourse.julialang.org/t/destructuring-type-parameters/81881)

<div class="topic-metadata">

**Author:** [@HashBrown](https://discourse.julialang.org/u/HashBrown)\
**Replies:** 3\
**Last updated:** [May 29, 2022, 11:43pm UTC](https://discourse.julialang.org/t/destructuring-type-parameters/81881 "2022-05-29T23:43:57Z")

</div>

Is there any way to destructure type parameters when defining parametric types and methods. Something along the lines of struct Foo{U{T}} end # Examples Foo{Vector{Int}}() Foo{AbstractArray{Int}}() I know this parti…

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

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