# Latest

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

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

**Page:** 1019

---

## [ACM Turing Award Honors Jack J. Dongarra for Pioneering Concepts and Methods Which Have Resulted in World-Changing Computations](https://discourse.julialang.org/t/acm-turing-award-honors-jack-j-dongarra-for-pioneering-concepts-and-methods-which-have-resulted-in-world-changing-computations/78746)

<div class="topic-metadata">

**Author:** [@caleb-allen](https://discourse.julialang.org/u/caleb-allen)\
**Replies:** 3\
**Last updated:** [June 6, 2022, 3:54pm UTC](https://discourse.julialang.org/t/acm-turing-award-honors-jack-j-dongarra-for-pioneering-concepts-and-methods-which-have-resulted-in-world-changing-computations/78746 "2022-06-06T15:54:52Z")

</div>

I thought this would be relevant to the Julia scientific computing community! Jack J. Dongarra is the primary author of BLAS and LAPACK, without which scientific computing would be much more difficult!

---

## [How to use \`HyperOpt.jl\` to optimise a vector of parameters](https://discourse.julialang.org/t/how-to-use-hyperopt-jl-to-optimise-a-vector-of-parameters/82232)

<div class="topic-metadata">

**Author:** [@this\_josh](https://discourse.julialang.org/u/this_josh)\
**Replies:** 10\
**Last updated:** [June 6, 2022, 3:26pm UTC](https://discourse.julialang.org/t/how-to-use-hyperopt-jl-to-optimise-a-vector-of-parameters/82232 "2022-06-06T15:26:25Z")

</div>

I’d like to use HyperOpt.jl to optimise a vector of parameters, but I’m having trouble using following the libraries documentation (a readme) As far as I can tell this should be sufficient using Hyperopt n = 10 d1 = ra…

---

## [Invalid redefinition error for const X = Vector{\<:A}](https://discourse.julialang.org/t/invalid-redefinition-error-for-const-x-vector-a/82316)

<div class="topic-metadata">

**Author:** [@skraemer](https://discourse.julialang.org/u/skraemer)\
**Replies:** 2\
**Last updated:** [June 6, 2022, 3:16pm UTC](https://discourse.julialang.org/t/invalid-redefinition-error-for-const-x-vector-a/82316 "2022-06-06T15:16:35Z")

</div>

When the following lines are run twice, the error invalid redefinition of constant X is thrown. The code is rather random, but it is the most minimal example I could come up with without removing the problem. In particul…

---

## [UInt128 to Float64 conversion](https://discourse.julialang.org/t/uint128-to-float64-conversion/82317)

<div class="topic-metadata">

**Author:** [@albheim](https://discourse.julialang.org/u/albheim)\
**Replies:** 2\
**Last updated:** [June 6, 2022, 3:14pm UTC](https://discourse.julialang.org/t/uint128-to-float64-conversion/82317 "2022-06-06T15:14:05Z")

</div>

Came upon an interesting blogpost where the author explains how they implemented their own unsigned 128 bit int to 64 bit float conversion in rust just because they didn’t think it existed, and when they realised it did …

---

## [How to tranform a vector into a matrix?](https://discourse.julialang.org/t/how-to-tranform-a-vector-into-a-matrix/82286)

<div class="topic-metadata">

**Author:** [@Leticia-maria](https://discourse.julialang.org/u/Leticia-maria)\
**Replies:** 5\
**Last updated:** [June 6, 2022, 1:26pm UTC](https://discourse.julialang.org/t/how-to-tranform-a-vector-into-a-matrix/82286 "2022-06-06T13:26:33Z")

</div>

How to transform a vector of type: \[\[1.021434087e-5, 1.532972083e-5, -1.493500137e-5\], \[-0.19951695340554, 0.87894179053067, -0.62713882127936\], \[0.76712229809243, 0.24863902907755, 0.74526241504934\], \[0.355803343995…

---

## [MKL and sparse solvers](https://discourse.julialang.org/t/mkl-and-sparse-solvers/82292)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 2:59pm UTC](https://discourse.julialang.org/t/mkl-and-sparse-solvers/82292 "2022-06-06T14:59:21Z")

</div>

What I wonder is: do the sparse matrix routines of CHOMOD and UMFPACK take advantage of MKL behind the scenes? Enabling or disabling MKL (using MKL) made absolutely no difference when calling cholesky and lu.

---

## [Unable to install JuMP 1.0 or 1.1 (Julia 1.7.3)](https://discourse.julialang.org/t/unable-to-install-jump-1-0-or-1-1-julia-1-7-3/82304)

<div class="topic-metadata">

**Author:** [@adow031](https://discourse.julialang.org/u/adow031)\
**Replies:** 3\
**Last updated:** [June 6, 2022, 2:13pm UTC](https://discourse.julialang.org/t/unable-to-install-jump-1-0-or-1-1-julia-1-7-3/82304 "2022-06-06T14:13:28Z")

</div>

On a clean install of Julia 1.7.3, I cannot install a version of JuMP greater than 0.22.3. If I use \] add JuMP Julia will install version 0.22.3. If I try to force it to install 1.0 or 1.1, e.g.: \] add JuMP@1.1.0 It g…

---

## [Ascending order of float numbers](https://discourse.julialang.org/t/ascending-order-of-float-numbers/82296)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 9\
**Last updated:** [June 6, 2022, 1:56pm UTC](https://discourse.julialang.org/t/ascending-order-of-float-numbers/82296 "2022-06-06T13:56:12Z")

</div>

I want to get TotalCharges of females in ascending order so that i could plot them, but sort function is not taking care of decimal point in number. :yum: as you can see 102 is coming after 1017. what should i do ?

---

## [How to use textrm with LaTeXStrings and the pyplot backend](https://discourse.julialang.org/t/how-to-use-textrm-with-latexstrings-and-the-pyplot-backend/82303)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 2\
**Last updated:** [June 6, 2022, 1:44pm UTC](https://discourse.julialang.org/t/how-to-use-textrm-with-latexstrings-and-the-pyplot-backend/82303 "2022-06-06T13:44:04Z")

</div>

Hi all, I am trying to use a combination of math and text symbols with LaTeXStrings and the pyplot backend of Plots.jl. Unfortunately, textrm does not work for some reason. Is there anything special I need to do, or is …

---

## [I couldn't debug codes that ran normally](https://discourse.julialang.org/t/i-couldnt-debug-codes-that-ran-normally/82311)

<div class="topic-metadata">

**Author:** [@Ouyuan](https://discourse.julialang.org/u/Ouyuan)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 1:27pm UTC](https://discourse.julialang.org/t/i-couldnt-debug-codes-that-ran-normally/82311 "2022-06-06T13:27:38Z")

</div>

I could run my code correctly. But when I wanted to debugger and check some variables, it seemed that the debugger couldn’t get through function fft! in the FFTW package. The debugger broke down in FFTW package and I cou…

---

## [Spurious allocations with @threads, when setting variables using if statements](https://discourse.julialang.org/t/spurious-allocations-with-threads-when-setting-variables-using-if-statements/82233)

<div class="topic-metadata">

**Author:** [@lukas.grunwald](https://discourse.julialang.org/u/lukas.grunwald)\
**Replies:** 5\
**Last updated:** [June 6, 2022, 12:45pm UTC](https://discourse.julialang.org/t/spurious-allocations-with-threads-when-setting-variables-using-if-statements/82233 "2022-06-06T12:45:27Z")

</div>

Annotating a for loop with @threads, that depends on a variable fixed in an if statement, leads to many additional allocations inside the loop. Replacing the if-statement with a ternary-operator removes these additional …

---

## [Question about plotting panel data?](https://discourse.julialang.org/t/question-about-plotting-panel-data/82250)

<div class="topic-metadata">

**Author:** [@Raymond](https://discourse.julialang.org/u/Raymond)\
**Replies:** 16\
**Last updated:** [June 6, 2022, 12:27pm UTC](https://discourse.julialang.org/t/question-about-plotting-panel-data/82250 "2022-06-06T12:27:24Z")

</div>

Dear all, In Stata, we can easily use xtline to plot the graph of panel data. webuse grunfeld,clear xtline invest In Julia, How can I plot this graph? julia\> using RDatasets julia\> using DataFrames julia\> df = d…

---

## [Github Actions CI using PyCall and a local/Github python package](https://discourse.julialang.org/t/github-actions-ci-using-pycall-and-a-local-github-python-package/82191)

<div class="topic-metadata">

**Author:** [@mabuwu](https://discourse.julialang.org/u/mabuwu)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 11:45am UTC](https://discourse.julialang.org/t/github-actions-ci-using-pycall-and-a-local-github-python-package/82191 "2022-06-06T11:45:20Z")

</div>

I’ve built a Julia package that uses a python package imported via PyCall. The python package is only available via GitHub, it’s not available via pip or Conda. Locally, this works fine. I can simply install the packag…

---

## [Radial Basis interpolation multivariable](https://discourse.julialang.org/t/radial-basis-interpolation-multivariable/82196)

<div class="topic-metadata">

**Author:** [@thomasjones](https://discourse.julialang.org/u/thomasjones)\
**Replies:** 5\
**Last updated:** [June 6, 2022, 11:31am UTC](https://discourse.julialang.org/t/radial-basis-interpolation-multivariable/82196 "2022-06-06T11:31:19Z")

</div>

Hello all, I have columns of data that represent independent variables a,b,c and two dependent variables x,y in a non linear system. I want to be able to predict x and y given a,b,c. Matlab has a newrb function that …

---

## [Type-stability with an elastic array in a struct](https://discourse.julialang.org/t/type-stability-with-an-elastic-array-in-a-struct/82298)

<div class="topic-metadata">

**Author:** [@james3](https://discourse.julialang.org/u/james3)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 10:40am UTC](https://discourse.julialang.org/t/type-stability-with-an-elastic-array-in-a-struct/82298 "2022-06-06T10:40:19Z")

</div>

I have defined a struct that contains an elastic array, similar to the following. struct MyStruct myelas::ElasticMatrix{Int64} end However, @code\_warntype shows the following is not type-stable. function test\_st…

---

## [Need start aid ! Simple system of difference equations](https://discourse.julialang.org/t/need-start-aid-simple-system-of-difference-equations/82299)

<div class="topic-metadata">

**Author:** [@ArminAminian](https://discourse.julialang.org/u/ArminAminian)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 10:31am UTC](https://discourse.julialang.org/t/need-start-aid-simple-system-of-difference-equations/82299 "2022-06-06T10:31:19Z")

</div>

Hi, I want to transfer a model from Mathamtica to Julia but I am a complete newbe. So far I could not find any codes that helped me. Mathematically, it is a system of difference equations / dynamical system in discrete…

---

## [What does #undef mean?](https://discourse.julialang.org/t/what-does-undef-mean/82031)

<div class="topic-metadata">

**Author:** [@acsofie](https://discourse.julialang.org/u/acsofie)\
**Replies:** 17\
**Last updated:** [June 6, 2022, 10:08am UTC](https://discourse.julialang.org/t/what-does-undef-mean/82031 "2022-06-06T10:08:48Z")

</div>

try to use julia\> Dict(:x=\>1,2=\>3,0=\>1).keys 16-element Vector{Any}: 0 #undef #undef #undef 2 #undef #undef #undef #undef #undef #undef #undef #undef #undef #undef :x julia\> typeof(ans) Vector{An…

---

## [LU factorization performance issue](https://discourse.julialang.org/t/lu-factorization-performance-issue/82281)

<div class="topic-metadata">

**Author:** [@Abhilash](https://discourse.julialang.org/u/Abhilash)\
**Replies:** 30\
**Last updated:** [June 6, 2022, 9:29am UTC](https://discourse.julialang.org/t/lu-factorization-performance-issue/82281 "2022-06-06T09:29:17Z")

</div>

I am comparing times taken for LU decomposition and my julia version seems to do badly compared to other language versions. The matrix is a 10000x10000 random dense matrix generated using DLATMR. Calling dgetrf (openbla…

---

## [Linear Optimization with Quadratic Constraints: Efficient, arbitrary precision solver](https://discourse.julialang.org/t/linear-optimization-with-quadratic-constraints-efficient-arbitrary-precision-solver/82105)

<div class="topic-metadata">

**Author:** [@DanDoe](https://discourse.julialang.org/u/DanDoe)\
**Replies:** 14\
**Last updated:** [June 6, 2022, 8:39am UTC](https://discourse.julialang.org/t/linear-optimization-with-quadratic-constraints-efficient-arbitrary-precision-solver/82105 "2022-06-06T08:39:17Z")

</div>

I want to solve a linear optimization problem with quadratic constraints of the form \\max\_{\\boldsymbol x} y \\text{ such that } f\_i(y \\boldsymbol x) \\leq 0 \\: \\forall \\: i = 1, \\dots, C and the f\_i are quadratic in the…

---

## [What is the difference between two codes?](https://discourse.julialang.org/t/what-is-the-difference-between-two-codes/82287)

<div class="topic-metadata">

**Author:** [@Raymond](https://discourse.julialang.org/u/Raymond)\
**Replies:** 5\
**Last updated:** [June 6, 2022, 7:55am UTC](https://discourse.julialang.org/t/what-is-the-difference-between-two-codes/82287 "2022-06-06T07:55:27Z")

</div>

Dear all, Here are two kinds of codes, In the first one, I use global ,and the other one not use global, What is the difference between them? julia\> i = 1 1 julia\> while i \< 5 println(i) global i…

---

## [Question about reduce?](https://discourse.julialang.org/t/question-about-reduce/82290)

<div class="topic-metadata">

**Author:** [@Raymond](https://discourse.julialang.org/u/Raymond)\
**Replies:** 3\
**Last updated:** [June 6, 2022, 2:47am UTC](https://discourse.julialang.org/t/question-about-reduce/82290 "2022-06-06T02:47:21Z")

</div>

What’s wrong with this? julia\> reduce(\*, 1:100) 0

---

## [CSV.read not recognizing "select" keyword](https://discourse.julialang.org/t/csv-read-not-recognizing-select-keyword/82089)

<div class="topic-metadata">

**Author:** [@CopyOfA](https://discourse.julialang.org/u/CopyOfA)\
**Replies:** 11\
**Last updated:** [June 6, 2022, 1:40am UTC](https://discourse.julialang.org/t/csv-read-not-recognizing-select-keyword/82089 "2022-06-06T01:40:04Z")

</div>

I am reading in a space-delimited file using the CSV library in Julia. edgeList = CSV.read( joinpath(dataDirectory, "out.file"), types=\[Int, Int\], header=\["node1", "node2"\], skipto=3, select=\[1,2\] ) …

---

## [Sum for components with index smaller than another index in constraints](https://discourse.julialang.org/t/sum-for-components-with-index-smaller-than-another-index-in-constraints/82117)

<div class="topic-metadata">

**Author:** [@chenr86](https://discourse.julialang.org/u/chenr86)\
**Replies:** 2\
**Last updated:** [June 6, 2022, 1:14am UTC](https://discourse.julialang.org/t/sum-for-components-with-index-smaller-than-another-index-in-constraints/82117 "2022-06-06T01:14:41Z")

</div>

Hello, I want to achieve summation of components with index smaller than i in the expression, and used in constraint. That is to say, the components in level is related to each other, e.g. level\[2\] is the sum of level\[1…

---

## [How are the notifications scheduled to be sent out?](https://discourse.julialang.org/t/how-are-the-notifications-scheduled-to-be-sent-out/81922)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 4\
**Last updated:** [June 5, 2022, 11:21pm UTC](https://discourse.julialang.org/t/how-are-the-notifications-scheduled-to-be-sent-out/81922 "2022-06-05T23:21:56Z")

</div>

Notifications about replies and such arrive in my mailbox with considerable delay (many hours), and in apparently random order. I wonder: is it just me, or is something wrong with the discourse notification mechanisms?

---

## [Separating/ Filtering data of multiple waveforms](https://discourse.julialang.org/t/separating-filtering-data-of-multiple-waveforms/82151)

<div class="topic-metadata">

**Author:** [@wiseac](https://discourse.julialang.org/u/wiseac)\
**Replies:** 11\
**Last updated:** [June 5, 2022, 10:01pm UTC](https://discourse.julialang.org/t/separating-filtering-data-of-multiple-waveforms/82151 "2022-06-05T22:01:26Z")

</div>

Hello, I have a waveform(s) that i’m trying to separate out into individual max-fall-min for each set. This is what it looks like. (Without time added) The data comes in a one dimensional array (Voltage) then i add a…

---

## [Building julia with \`march=native\`](https://discourse.julialang.org/t/building-julia-with-march-native/82256)

<div class="topic-metadata">

**Author:** [@sobhan](https://discourse.julialang.org/u/sobhan)\
**Replies:** 15\
**Last updated:** [June 5, 2022, 8:51pm UTC](https://discourse.julialang.org/t/building-julia-with-march-native/82256 "2022-06-05T20:51:50Z")

</div>

I decided to build julia from source and was thinking of setting march=native in a futile hope of getting a speed up. After reading through some of the docs, i decided to use the following user.make ARCH=x86\_64 MARCH=na…

---

## [How to convert .mat to julia matrix](https://discourse.julialang.org/t/how-to-convert-mat-to-julia-matrix/82283)

<div class="topic-metadata">

**Author:** [@horvetz](https://discourse.julialang.org/u/horvetz)\
**Replies:** 1\
**Last updated:** [June 5, 2022, 8:20pm UTC](https://discourse.julialang.org/t/how-to-convert-mat-to-julia-matrix/82283 "2022-06-05T20:20:47Z")

</div>

I want to load a mat file from matlab and convert it to Julia matrix. Currently I can read the file but I don’t know how to extract the matrix inside the mat file using MAT A = matread(“MyMatrix.mat”)

---

## [While loop, variable not defined](https://discourse.julialang.org/t/while-loop-variable-not-defined/82278)

<div class="topic-metadata">

**Author:** [@nicoo-c](https://discourse.julialang.org/u/nicoo-c)\
**Replies:** 4\
**Last updated:** [June 5, 2022, 7:19pm UTC](https://discourse.julialang.org/t/while-loop-variable-not-defined/82278 "2022-06-05T19:19:02Z")

</div>

Hi, I’m doing the Introduction to Julia course (https://juliaacademy.com/courses/375479/lectures/5816184) and this happens when i run the code for a while loop. ¿Could someone explain this to me and tell me the corre…

---

## [Difference between StructArrays and TypedTables](https://discourse.julialang.org/t/difference-between-structarrays-and-typedtables/82207)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 4\
**Last updated:** [June 5, 2022, 5:29pm UTC](https://discourse.julialang.org/t/difference-between-structarrays-and-typedtables/82207 "2022-06-05T17:29:35Z")

</div>

Curious if anyone sees any major differences in practical usage for these packages. StructArrays can use struct of arrays or array of structs approach. TypedTables uses namedtuple of arrays and constructs the array of …

---

## [How do I fix deprecated audio cues?](https://discourse.julialang.org/t/how-do-i-fix-deprecated-audio-cues/82258)

<div class="topic-metadata">

**Author:** [@Soldalma](https://discourse.julialang.org/u/Soldalma)\
**Replies:** 3\
**Last updated:** [June 5, 2022, 5:14pm UTC](https://discourse.julialang.org/t/how-do-i-fix-deprecated-audio-cues/82258 "2022-06-05T17:14:58Z")

</div>

After installing version 1.7.3 I noticed that there was a Problem in the following line in settings.json: "audioCues.enabled": "on", The message is: "Deprecated. Use the specific setting for each audio cue instead (au…

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

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