# Latest

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

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

**Page:** 481

---

## [BoundsError -\> NaN ? (in Interpolations)](https://discourse.julialang.org/t/boundserror-nan-in-interpolations/110372)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 2\
**Last updated:** [February 19, 2024, 5:40am UTC](https://discourse.julialang.org/t/boundserror-nan-in-interpolations/110372 "2024-02-19T05:40:03Z")

</div>

I need a NaN when the target isn’t in the “interior” in linear interpolation: using Distributions using Interpolations const imax\_in = 20 const imax\_out = 20 xax\_in, v\_in = let dx = rand(Uniform(1.0, 10.0), imax\_in)…

---

## [Spinner/progress meter for slow functions](https://discourse.julialang.org/t/spinner-progress-meter-for-slow-functions/110385)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 12\
**Last updated:** [February 19, 2024, 4:04am UTC](https://discourse.julialang.org/t/spinner-progress-meter-for-slow-functions/110385 "2024-02-19T04:04:12Z")

</div>

I am aware of the package ProgressMeter.jl which works for function which process things in loops. I am looking for something that works on functions that doesn’t necessarily have loop but just takes time to complete som…

---

## ['return new'](https://discourse.julialang.org/t/return-new/110387)

<div class="topic-metadata">

**Author:** [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Replies:** 1\
**Last updated:** [February 19, 2024, 2:51am UTC](https://discourse.julialang.org/t/return-new/110387 "2024-02-19T02:51:40Z")

</div>

I saw code like return new{T}(a, b) as the last the line of some constructor function of a struct. I am wondering what is the purpose of ‘new’ here? Typically, we see return (a,b)

---

## [Read\_parquet() not defined?](https://discourse.julialang.org/t/read-parquet-not-defined/110380)

<div class="topic-metadata">

**Author:** [@austin-putz](https://discourse.julialang.org/u/austin-putz)\
**Replies:** 9\
**Last updated:** [February 19, 2024, 1:02am UTC](https://discourse.julialang.org/t/read-parquet-not-defined/110380 "2024-02-19T01:02:26Z")

</div>

Hello, I feel kind of silly here. No idea what I did. I couldn’t seem to load a dataset with Arrow from R (feather). So I jumped to Parquet to test. I used the arrow package in R, have a .parquet file on my hard disk and…

---

## [Is there a way to know if \`Revise\` is enabled?](https://discourse.julialang.org/t/is-there-a-way-to-know-if-revise-is-enabled/110379)

<div class="topic-metadata">

**Author:** [@Tortar](https://discourse.julialang.org/u/Tortar)\
**Replies:** 5\
**Last updated:** [February 18, 2024, 9:51pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-know-if-revise-is-enabled/110379 "2024-02-18T21:51:07Z")

</div>

Is it possible to know if when I’m executing some code it is being tracked by Revise.jl? For example say I have a function where I want to do something different based on this condition e.g. in pseudocode: function foo…

---

## [Best way to serve GraphPlot.jl plots on a web app](https://discourse.julialang.org/t/best-way-to-serve-graphplot-jl-plots-on-a-web-app/110346)

<div class="topic-metadata">

**Author:** [@Oliver\_O\_Brien](https://discourse.julialang.org/u/Oliver_O_Brien)\
**Replies:** 4\
**Last updated:** [February 18, 2024, 7:59pm UTC](https://discourse.julialang.org/t/best-way-to-serve-graphplot-jl-plots-on-a-web-app/110346 "2024-02-18T19:59:56Z")

</div>

Hi, I am struggling to find support for serving GraphPlot.jl plots across the internet. Genie only seems to support Plotly which does not have a nice way (that I can find) of plotting network graphs from Graphs.jl. I ha…

---

## [Labeling a categorical color dimension in 3d scatter in Makie](https://discourse.julialang.org/t/labeling-a-categorical-color-dimension-in-3d-scatter-in-makie/110072)

<div class="topic-metadata">

**Author:** [@tp2750](https://discourse.julialang.org/u/tp2750)\
**Replies:** 1\
**Last updated:** [February 18, 2024, 6:43pm UTC](https://discourse.julialang.org/t/labeling-a-categorical-color-dimension-in-3d-scatter-in-makie/110072 "2024-02-18T18:43:14Z")

</div>

I’m trying to do a 3D Iris plot in Makie, but I can not figure out how to label the color dimension. Here is what I do: using DataFrames using WGLMakie using RDatasets using CategoricalArrays iris = dataset("datasets",…

---

## [Solving linear system with sum of kronecker products](https://discourse.julialang.org/t/solving-linear-system-with-sum-of-kronecker-products/109253)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 21\
**Last updated:** [February 18, 2024, 11:35am UTC](https://discourse.julialang.org/t/solving-linear-system-with-sum-of-kronecker-products/109253 "2024-02-18T11:35:39Z")

</div>

Suppose I have ((A \\otimes B) + (C \\otimes D))x = v where A and C and B and D have the same size, respectively. Suppose also that I particularly want to avoid instantiating the Kronecker products since they are large. …

---

## [Is it possible to get an incompletely specified type?](https://discourse.julialang.org/t/is-it-possible-to-get-an-incompletely-specified-type/110331)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 8\
**Last updated:** [February 18, 2024, 4:21pm UTC](https://discourse.julialang.org/t/is-it-possible-to-get-an-incompletely-specified-type/110331 "2024-02-18T16:21:45Z")

</div>

julia\> struct A{T}; a::T; end julia\> a1 = A(1) A{Int64}(1) julia\> a2 = A(1.0) A{Float64}(1.00000e+00) julia\> typeof(a1) === typeof(a2) false Yet, both a1 and a2 are “of type A”. Is it possible to test that?

---

## [How to write a multi-threaded reduction using Bumper.jl?](https://discourse.julialang.org/t/how-to-write-a-multi-threaded-reduction-using-bumper-jl/110314)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 10\
**Last updated:** [February 18, 2024, 12:52pm UTC](https://discourse.julialang.org/t/how-to-write-a-multi-threaded-reduction-using-bumper-jl/110314 "2024-02-18T12:52:10Z")

</div>

Hello! I am trying to see if I can get a multithreaded reduction to work using Bumper.jl but my results are a bit embaressing… I can’t seem to get it to work and I don’t think it is using all my threads… The code snippe…

---

## [Getting julia support to Kaggle](https://discourse.julialang.org/t/getting-julia-support-to-kaggle/2121)

<div class="topic-metadata">

**Author:** [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Replies:** 36\
**Last updated:** [February 18, 2024, 12:43pm UTC](https://discourse.julialang.org/t/getting-julia-support-to-kaggle/2121 "2024-02-18T12:43:56Z")

</div>

Not precisely where this discussion should sit, but this seems a good place to start. Kaggle.com is a neat site for data science, hosting competitions in data analysis and machine learning, as well as instructional mate…

---

## [DifferentialEquations.jl -- change in \`remake\`?](https://discourse.julialang.org/t/differentialequations-jl-change-in-remake/110283)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 8\
**Last updated:** [February 18, 2024, 10:48am UTC](https://discourse.julialang.org/t/differentialequations-jl-change-in-remake/110283 "2024-02-18T10:48:07Z")

</div>

Has there been a change in the remake function recently? The following code worked one month ago: prob\_rm = remake(prob, u0=\[\], p=p\_modify) sol = solve(prob\_rm, QBDF(), reltol=1e-5,tstops=t\_u\_switch) Now, I get an err…

---

## [Optimizing a CUDA-based Loss Function for Neural Network Training](https://discourse.julialang.org/t/optimizing-a-cuda-based-loss-function-for-neural-network-training/110365)

<div class="topic-metadata">

**Author:** [@josemanuel22](https://discourse.julialang.org/u/josemanuel22)\
**Replies:** 0\
**Last updated:** [February 18, 2024, 8:54am UTC](https://discourse.julialang.org/t/optimizing-a-cuda-based-loss-function-for-neural-network-training/110365 "2024-02-18T08:54:36Z")

</div>

This post is hidden. You deleted this post 8 hours ago. I have been working on the following loss function to train neural networks based on a statistical invariant. I have tried to port the function to GPU/CUDA, and I …

---

## [Post and topics statistics by domain](https://discourse.julialang.org/t/post-and-topics-statistics-by-domain/110321)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 0\
**Last updated:** [February 16, 2024, 10:30pm UTC](https://discourse.julialang.org/t/post-and-topics-statistics-by-domain/110321 "2024-02-16T22:30:02Z")

</div>

Is it possible to look at post and topics statistics by specific domains? (Statistics, Numeric, GPU, ets…)

---

## [QA for Wiki](https://discourse.julialang.org/t/qa-for-wiki/110364)

<div class="topic-metadata">

**Author:** [@ShalokShalom](https://discourse.julialang.org/u/ShalokShalom)\
**Replies:** 2\
**Last updated:** [February 18, 2024, 7:16am UTC](https://discourse.julialang.org/t/qa-for-wiki/110364 "2024-02-18T07:16:59Z")

</div>

I just found this entry. https://www.juliawiki.com/wiki/Godot\_Engine As an avid Godot user, I can assure you it is not written in Julia. Do we have someone, who owns that Wiki and proofs-reads these articles? I mean,…

---

## [Is there such a thing as an implicit conversion from a matrix view?](https://discourse.julialang.org/t/is-there-such-a-thing-as-an-implicit-conversion-from-a-matrix-view/110332)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 8\
**Last updated:** [February 18, 2024, 4:57am UTC](https://discourse.julialang.org/t/is-there-such-a-thing-as-an-implicit-conversion-from-a-matrix-view/110332 "2024-02-18T04:57:22Z")

</div>

I am trying to construct a struct that refers to a view of a vector. However, there appears to be an implicit conversion, and I end up with a copy of the “view”. mutable struct A{ IT, MBT, # matrix-entry buffer …

---

## [Possible compiler bug with shadowed global variable](https://discourse.julialang.org/t/possible-compiler-bug-with-shadowed-global-variable/110362)

<div class="topic-metadata">

**Author:** [@binarycat](https://discourse.julialang.org/u/binarycat)\
**Replies:** 2\
**Last updated:** [February 18, 2024, 4:36am UTC](https://discourse.julialang.org/t/possible-compiler-bug-with-shadowed-global-variable/110362 "2024-02-18T04:36:42Z")

</div>

global z = 12 begin print(z) local z = 10 end this gives an undefined variable error. this type of backwards-reaching compile error is extremly unusual, and there could be hundreds of lines of code between the the …

---

## [Hiring Developer(s): Virtual Neurosurgery for Pre-Surgical Planning](https://discourse.julialang.org/t/hiring-developer-s-virtual-neurosurgery-for-pre-surgical-planning/110194)

<div class="topic-metadata">

**Author:** [@hstrey](https://discourse.julialang.org/u/hstrey)\
**Replies:** 0\
**Last updated:** [February 14, 2024, 2:48am UTC](https://discourse.julialang.org/t/hiring-developer-s-virtual-neurosurgery-for-pre-surgical-planning/110194 "2024-02-14T02:48:09Z")

</div>

Hiring Julia software developer(s) with expertise in control systems engineering for short-term sprint to develop Deep Brain Stimulation Module as part of the new Neuroblox Platform for Computational Neurology and Psychi…

---

## [Using LSTM cell in Lux with explicit parameters](https://discourse.julialang.org/t/using-lstm-cell-in-lux-with-explicit-parameters/110199)

<div class="topic-metadata">

**Author:** [@kunal](https://discourse.julialang.org/u/kunal)\
**Replies:** 0\
**Last updated:** [February 14, 2024, 4:06am UTC](https://discourse.julialang.org/t/using-lstm-cell-in-lux-with-explicit-parameters/110199 "2024-02-14T04:06:26Z")

</div>

Hi, I was referring to the Simple LSTM tutorial, which combines classifier(Dense layer) with LSTMCell using AbstractExplicitContainerLayer. Also, in my case I am passing explicit parameters to the neural net. NN = L…

---

## [Why column major?](https://discourse.julialang.org/t/why-column-major/24374)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 58\
**Last updated:** [February 17, 2024, 11:31pm UTC](https://discourse.julialang.org/t/why-column-major/24374 "2024-02-17T23:31:03Z")

</div>

Why Julia arrays are stored in column-major order? Column-major vs row-major are not entirely symmetric regarding code style, because when we access the i,j’th element of an array, we write A\[i,j\] with the row index fir…

---

## [MethodError in importing excel table using XLSX](https://discourse.julialang.org/t/methoderror-in-importing-excel-table-using-xlsx/110357)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 1\
**Last updated:** [February 17, 2024, 10:38pm UTC](https://discourse.julialang.org/t/methoderror-in-importing-excel-table-using-xlsx/110357 "2024-02-17T22:38:20Z")

</div>

Hi everyone, I’m trying to import an excel table into a dataframe using: df\_data = DataFrame(XLSX.readtable(file\_path, "styles", columns="A:H", infer\_eltypes=true, first\_row=3)) But I’m getting MethodError: no met…

---

## [Indexing problem SDDP package](https://discourse.julialang.org/t/indexing-problem-sddp-package/110291)

<div class="topic-metadata">

**Author:** [@heiwie](https://discourse.julialang.org/u/heiwie)\
**Replies:** 4\
**Last updated:** [February 17, 2024, 10:33pm UTC](https://discourse.julialang.org/t/indexing-problem-sddp-package/110291 "2024-02-17T22:33:26Z")

</div>

I am trying to define a hydropower production problem in Julia using the SDDP package. When running the code I get this error: “ERROR: KeyError: key Symbol(“w2\[3\]”) not found”. This error seems like it is being caused b…

---

## [How hard is it to rebuild a tensorflow model in julia?](https://discourse.julialang.org/t/how-hard-is-it-to-rebuild-a-tensorflow-model-in-julia/110349)

<div class="topic-metadata">

**Author:** [@cdawg](https://discourse.julialang.org/u/cdawg)\
**Replies:** 2\
**Last updated:** [February 17, 2024, 9:05pm UTC](https://discourse.julialang.org/t/how-hard-is-it-to-rebuild-a-tensorflow-model-in-julia/110349 "2024-02-17T21:05:37Z")

</div>

It has been a pain for me to get tensorflow working on my arm MacBook to run a recently published denoising model. Id love to port the model Julia because it would open up some options and make it easier to share with o…

---

## [Reshape in place](https://discourse.julialang.org/t/reshape-in-place/110356)

<div class="topic-metadata">

**Author:** [@Enlil50](https://discourse.julialang.org/u/Enlil50)\
**Replies:** 1\
**Last updated:** [February 17, 2024, 9:04pm UTC](https://discourse.julialang.org/t/reshape-in-place/110356 "2024-02-17T21:04:31Z")

</div>

I’m trying to reshape in place using: using Random Random.seed!(1) A = rand(Int8, 4) show(A) reshape(A, (2, 2)) println("\\n") show(A) println("\\n") Which should change the algorithm which maps the array into a matri…

---

## [Checking if a list of vectors are all identical](https://discourse.julialang.org/t/checking-if-a-list-of-vectors-are-all-identical/110215)

<div class="topic-metadata">

**Author:** [@Gus\_Hart](https://discourse.julialang.org/u/Gus_Hart)\
**Replies:** 23\
**Last updated:** [February 15, 2024, 10:35pm UTC](https://discourse.julialang.org/t/checking-if-a-list-of-vectors-are-all-identical/110215 "2024-02-15T22:35:06Z")

</div>

(Looking for the most idiomatic way to solve this problem. It’s inside several nested loops.) I have a situation where I have two lists of 3-vectors. Often these two lists are identical except for displacement. (One set…

---

## [Comparing Dictionaries of Dictionaries](https://discourse.julialang.org/t/comparing-dictionaries-of-dictionaries/110323)

<div class="topic-metadata">

**Author:** [@brombo](https://discourse.julialang.org/u/brombo)\
**Replies:** 16\
**Last updated:** [February 17, 2024, 6:52pm UTC](https://discourse.julialang.org/t/comparing-dictionaries-of-dictionaries/110323 "2024-02-17T18:52:54Z")

</div>

I am trying to compare two dictionaries to see if they are equal. In the code the dictionaries are S1.sdops and S2.sdops function (==)(D1::Sdop,D2::Sdop)::Bool if string(D1.s) != string(D2.s) return false end keys1 …

---

## [Lowercase and uppercase do not handle Mathematical Letters as expected](https://discourse.julialang.org/t/lowercase-and-uppercase-do-not-handle-mathematical-letters-as-expected/110348)

<div class="topic-metadata">

**Author:** [@benjwweber](https://discourse.julialang.org/u/benjwweber)\
**Replies:** 2\
**Last updated:** [February 17, 2024, 6:38pm UTC](https://discourse.julialang.org/t/lowercase-and-uppercase-do-not-handle-mathematical-letters-as-expected/110348 "2024-02-17T18:38:14Z")

</div>

I have recently noticed that lowercase('𝐴') # '𝐴': Unicode U+1D434 (category Lu: Letter, uppercase) and uppercase('𝑎') # '𝑎': Unicode U+1D44E (category Ll: Letter, lowercase) do not behave as I would have expected, a…

---

## [Best practices for single script files](https://discourse.julialang.org/t/best-practices-for-single-script-files/110258)

<div class="topic-metadata">

**Author:** [@Ved\_Mahajan](https://discourse.julialang.org/u/Ved_Mahajan)\
**Replies:** 9\
**Last updated:** [February 17, 2024, 4:38pm UTC](https://discourse.julialang.org/t/best-practices-for-single-script-files/110258 "2024-02-17T16:38:49Z")

</div>

Hey all :wave: In the future I see myself writing a lot of single script files. They will be, almost exclusively, for analysing my molecular dynamics simulations. I imagine a rough skeleton of the script to be: define …

---

## [Should Julia Packages Allow Authors to Specify "Essential" Directories for Installation?](https://discourse.julialang.org/t/should-julia-packages-allow-authors-to-specify-essential-directories-for-installation/110238)

<div class="topic-metadata">

**Author:** [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Replies:** 15\
**Last updated:** [February 17, 2024, 4:33pm UTC](https://discourse.julialang.org/t/should-julia-packages-allow-authors-to-specify-essential-directories-for-installation/110238 "2024-02-17T16:33:40Z")

</div>

I’ve been pondering an idea to optimize the storage footprint of Julia packages and would love to get your insights and opinions on it. The Issue While exploring various packages, I’ve noticed that directories like test,…

---

## [PyPlot.show throws an exception (Win10 | Julia 1.10.0 )](https://discourse.julialang.org/t/pyplot-show-throws-an-exception-win10-julia-1-10-0/109156)

<div class="topic-metadata">

**Author:** [@Shamrock\_812](https://discourse.julialang.org/u/Shamrock_812)\
**Replies:** 11\
**Last updated:** [February 17, 2024, 4:26pm UTC](https://discourse.julialang.org/t/pyplot-show-throws-an-exception-win10-julia-1-10-0/109156 "2024-02-17T16:26:56Z")

</div>

New to Julia so possibly getting something all wrong here. When the Julia (1.10.0) script reaches Pyplot.show (line 107) the following exception is thrown. Laptop has Python 3.9.16 and Conda 23.1.0 installed. Any ideas? …

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

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