# Latest

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

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

**Page:** 376

---

## [Using Tensorial.jl to deal with Tensors with high symmetries](https://discourse.julialang.org/t/using-tensorial-jl-to-deal-with-tensors-with-high-symmetries/116360)

<div class="topic-metadata">

**Author:** [@Uranium238](https://discourse.julialang.org/u/Uranium238)\
**Replies:** 1\
**Last updated:** [June 28, 2024, 3:32pm UTC](https://discourse.julialang.org/t/using-tensorial-jl-to-deal-with-tensors-with-high-symmetries/116360 "2024-06-28T15:32:35Z")

</div>

I am writing code that deals with contractions of large tensors which possess high symmetry. As an example, I have a tensor g whose certain entries are read from a data file. The remaining entries are entered using the …

---

## [Questions on \`hist | Makie\`](https://discourse.julialang.org/t/questions-on-hist-makie/116347)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 14\
**Last updated:** [June 28, 2024, 3:30pm UTC](https://discourse.julialang.org/t/questions-on-hist-makie/116347 "2024-06-28T15:30:03Z")

</div>

hist | Makie can draw multiple histograms on one figure like what follows But I wonder if these histograms share a same height scale so that we can compare between different histograms according to the bar heights. T…

---

## [Slow performance when solving SDE for a large number of functions in a loop](https://discourse.julialang.org/t/slow-performance-when-solving-sde-for-a-large-number-of-functions-in-a-loop/116337)

<div class="topic-metadata">

**Author:** [@DavidBerghaus](https://discourse.julialang.org/u/DavidBerghaus)\
**Replies:** 3\
**Last updated:** [June 28, 2024, 2:56pm UTC](https://discourse.julialang.org/t/slow-performance-when-solving-sde-for-a-large-number-of-functions-in-a-loop/116337 "2024-06-28T14:56:03Z")

</div>

I have the following use case: I have a large dataset of 1 million drift and diffusion functions (stored as strings of the symbolic expressions) for which I want to solve the corresponding SDEs. This is my current appr…

---

## [Efficient simulation with different path lengths](https://discourse.julialang.org/t/efficient-simulation-with-different-path-lengths/116321)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 5\
**Last updated:** [June 28, 2024, 2:32pm UTC](https://discourse.julialang.org/t/efficient-simulation-with-different-path-lengths/116321 "2024-06-28T14:32:25Z")

</div>

Hi, I’ve enjoyed using Julia on my first research project quite a lot, and I’m now thinking of how to set up my code for my second research project. The computational bottleneck in this project lies in performing many co…

---

## [Julia seems an order of magnitude slower than Python when printing to the terminal, because of issue with "sleep"](https://discourse.julialang.org/t/julia-seems-an-order-of-magnitude-slower-than-python-when-printing-to-the-terminal-because-of-issue-with-sleep/78151)

<div class="topic-metadata">

**Author:** [@kdheepak](https://discourse.julialang.org/u/kdheepak)\
**Replies:** 67\
**Last updated:** [June 28, 2024, 1:55pm UTC](https://discourse.julialang.org/t/julia-seems-an-order-of-magnitude-slower-than-python-when-printing-to-the-terminal-because-of-issue-with-sleep/78151 "2024-06-28T13:55:28Z")

</div>

Hi all, I’m running into couple of issues and a bottleneck when printing characters to the screen in Julia. This is because I was trying to add some new features to TerminalUserInterfaces.jl: https://github.com/kdheepak…

---

## [Errors on 2nd Iteration of EnsembleGPUArrays when using Lux](https://discourse.julialang.org/t/errors-on-2nd-iteration-of-ensemblegpuarrays-when-using-lux/116280)

<div class="topic-metadata">

**Author:** [@TicTac](https://discourse.julialang.org/u/TicTac)\
**Replies:** 2\
**Last updated:** [June 28, 2024, 1:54pm UTC](https://discourse.julialang.org/t/errors-on-2nd-iteration-of-ensemblegpuarrays-when-using-lux/116280 "2024-06-28T13:54:03Z")

</div>

I’ve been trying to get some Lux UDEs trained using EnsembleGPUArray problems. I’m mostly following the SciML Automatic Model Discovery workflow to approximate an unmodeled disturbance in ODEs using some measured data. S…

---

## [Basic NN forward passage: CuArray fine, oneAPI array:](https://discourse.julialang.org/t/basic-nn-forward-passage-cuarray-fine-oneapi-array/116351)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 0\
**Last updated:** [June 28, 2024, 10:21am UTC](https://discourse.julialang.org/t/basic-nn-forward-passage-cuarray-fine-oneapi-array/116351 "2024-06-28T10:21:25Z")

</div>

Hello, I am “testing” GPU programming with a mock forward passage of a basic NN: using Test, oneAPI, BenchmarkTools, LinearAlgebra relu(x) = max(0,x) forward\_layer(x,w,w0,f) = f.(w\*x .+ w0) function forward\_network!…

---

## [Mix 3d and 2d coordinates in Makie](https://discourse.julialang.org/t/mix-3d-and-2d-coordinates-in-makie/116350)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 1\
**Last updated:** [June 28, 2024, 11:54am UTC](https://discourse.julialang.org/t/mix-3d-and-2d-coordinates-in-makie/116350 "2024-06-28T11:54:44Z")

</div>

Is it possible to mix 2d and 3d coordinates in Makie? fig = Figure() axis = Axis3(fig\[1, 1\]) scatter!(axis, 0, 0, 0) # i want this one to be fixed in 2d text!(axis, 0, 0, text = "look here") # draw a line from the label…

---

## [Two Julia pearls](https://discourse.julialang.org/t/two-julia-pearls/116352)

<div class="topic-metadata">

**Author:** [@sbacelar](https://discourse.julialang.org/u/sbacelar)\
**Replies:** 2\
**Last updated:** [June 28, 2024, 11:50am UTC](https://discourse.julialang.org/t/two-julia-pearls/116352 "2024-06-28T11:50:35Z")

</div>

While trying once again to find if there was any Julia version of the Classic Computer Science Problems by David Kopec (there are versions in Python, Java, Rust, JavaScript and others in GitHub - davecom/ClassicComputerS…

---

## [Getting started with Metal.jl](https://discourse.julialang.org/t/getting-started-with-metal-jl/116309)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 1\
**Last updated:** [June 28, 2024, 10:48am UTC](https://discourse.julialang.org/t/getting-started-with-metal-jl/116309 "2024-06-28T10:48:11Z")

</div>

Hi everyone. So, I have never worked with GPU, I have a M1 Mac and I am trying to get some codes of mine to run faster. I have a code that I know very well and I thought it might be a good exercise to translate it to Me…

---

## [Issue with StaticArrays in Boundary Value Problems](https://discourse.julialang.org/t/issue-with-staticarrays-in-boundary-value-problems/115024)

<div class="topic-metadata">

**Author:** [@RafaelDHR](https://discourse.julialang.org/u/RafaelDHR)\
**Replies:** 2\
**Last updated:** [June 28, 2024, 10:36am UTC](https://discourse.julialang.org/t/issue-with-staticarrays-in-boundary-value-problems/115024 "2024-06-28T10:36:11Z")

</div>

Greetings, Recently I’ve been using the amazing DifferentialEquations package. However, few days ago I noticed that the package used for Boundary Value Problems BoundaryValueDiffEq has some issues when using Static Arra…

---

## [Interactive web app with Bonito and WGLMakie](https://discourse.julialang.org/t/interactive-web-app-with-bonito-and-wglmakie/116348)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 0\
**Last updated:** [June 28, 2024, 10:12am UTC](https://discourse.julialang.org/t/interactive-web-app-with-bonito-and-wglmakie/116348 "2024-06-28T10:12:45Z")

</div>

I am trying to build an interactive app with WGLMakie und Bonito and just cannot figure it out. I got as far as the following code that works sometimes: using Bonito using WGLMakie app = App() do slider = Bonito.Sl…

---

## [T-shirts for JuliaCon 2024?](https://discourse.julialang.org/t/t-shirts-for-juliacon-2024/115250)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 4\
**Last updated:** [June 28, 2024, 9:40am UTC](https://discourse.julialang.org/t/t-shirts-for-juliacon-2024/115250 "2024-06-28T09:40:33Z")

</div>

I am not able to attend JuliaCon 2024 but I enjoy purchasing a commemorative T-shirt. Are they going to be available this year? My previous T’s are getting worn…

---

## [Plot combination and rotation using CairoMakie and AlgebraOfGraphics](https://discourse.julialang.org/t/plot-combination-and-rotation-using-cairomakie-and-algebraofgraphics/116332)

<div class="topic-metadata">

**Author:** [@Bonjour-Lemonde](https://discourse.julialang.org/u/Bonjour-Lemonde)\
**Replies:** 2\
**Last updated:** [June 28, 2024, 9:14am UTC](https://discourse.julialang.org/t/plot-combination-and-rotation-using-cairomakie-and-algebraofgraphics/116332 "2024-06-28T09:14:17Z")

</div>

Hi all, I want to know how to achieve plotting as shown below: currently, I could only achieved plotting as shown below using the following code: using AlgebraOfGraphics using Distributions using DataFrames using…

---

## [How to use "run()" to open a file?](https://discourse.julialang.org/t/how-to-use-run-to-open-a-file/116331)

<div class="topic-metadata">

**Author:** [@lionisxn](https://discourse.julialang.org/u/lionisxn)\
**Replies:** 3\
**Last updated:** [June 28, 2024, 7:30am UTC](https://discourse.julialang.org/t/how-to-use-run-to-open-a-file/116331 "2024-06-28T07:30:33Z")

</div>

I have a figure, say, saved at the path of “D:/1.svg” and want it to be opened via the “msedge.exe” browser in windows 11. The execution of “run(start D:/1.svg)” throws error like this However, I can directly open th…

---

## [Sample new unseen points using AlgebraOfGraphics.density()](https://discourse.julialang.org/t/sample-new-unseen-points-using-algebraofgraphics-density/116334)

<div class="topic-metadata">

**Author:** [@Bonjour-Lemonde](https://discourse.julialang.org/u/Bonjour-Lemonde)\
**Replies:** 0\
**Last updated:** [June 28, 2024, 6:28am UTC](https://discourse.julialang.org/t/sample-new-unseen-points-using-algebraofgraphics-density/116334 "2024-06-28T06:28:11Z")

</div>

Hi all, I want to know how to generate new data points according to the density function using AlgebraOfGraphics.density(). As the following code shows, I used AlgebraOfGraphics.density() to fit datasets and visualized …

---

## [Package for Lagrange interpolation on finite fields](https://discourse.julialang.org/t/package-for-lagrange-interpolation-on-finite-fields/116288)

<div class="topic-metadata">

**Author:** [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Replies:** 7\
**Last updated:** [June 28, 2024, 2:42am UTC](https://discourse.julialang.org/t/package-for-lagrange-interpolation-on-finite-fields/116288 "2024-06-28T02:42:50Z")

</div>

A common point among some Discourse topics on Lagrange interpolation is the non-recommendation due to the Runge’s phenomenon (Edit: or numerical stability). However, that is a problem on real numbers, not on finite fiel…

---

## [DimensionalData: How to use a dimension whose name is stored in a variable](https://discourse.julialang.org/t/dimensionaldata-how-to-use-a-dimension-whose-name-is-stored-in-a-variable/116098)

<div class="topic-metadata">

**Author:** [@aasdelat](https://discourse.julialang.org/u/aasdelat)\
**Replies:** 6\
**Last updated:** [June 27, 2024, 9:47pm UTC](https://discourse.julialang.org/t/dimensionaldata-how-to-use-a-dimension-whose-name-is-stored-in-a-variable/116098 "2024-06-27T21:47:51Z")

</div>

I have to use data with one time dimension and two spatial dimensions (longitude and latitude). I use the Rasters.jl library to manage them, that creates DimensionalData.jl arrays. Sometimes, I have a variable, say slp,…

---

## [How's the progress in garbage-collecting unused functions?](https://discourse.julialang.org/t/hows-the-progress-in-garbage-collecting-unused-functions/116300)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 5\
**Last updated:** [June 27, 2024, 9:36pm UTC](https://discourse.julialang.org/t/hows-the-progress-in-garbage-collecting-unused-functions/116300 "2024-06-27T21:36:48Z")

</div>

When a function compilation in Julia no longer gets used, it doesn’t go away. Instead, it stays in memory. Normally, this is not a problem because you don’t generate so many functions in the first place, and each functio…

---

## [Improved syntax highlighting for Julia on the web](https://discourse.julialang.org/t/improved-syntax-highlighting-for-julia-on-the-web/49149)

<div class="topic-metadata">

**Author:** [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Replies:** 29\
**Last updated:** [June 27, 2024, 8:30pm UTC](https://discourse.julialang.org/t/improved-syntax-highlighting-for-julia-on-the-web/49149 "2024-06-27T20:30:22Z")

</div>

Hello everyone, I made some improvements to the Julia syntax highlighter in highlight.js. This library is used by Documenter.jl, Franklin.jl, this discourse forum and many other tools to highlight Julia code, so hopefull…

---

## [Parallel accumulation over large dictionary](https://discourse.julialang.org/t/parallel-accumulation-over-large-dictionary/116316)

<div class="topic-metadata">

**Author:** [@OHL](https://discourse.julialang.org/u/OHL)\
**Replies:** 2\
**Last updated:** [June 27, 2024, 7:32pm UTC](https://discourse.julialang.org/t/parallel-accumulation-over-large-dictionary/116316 "2024-06-27T19:32:43Z")

</div>

I have a large Dict D and a function f that takes as input a pair of dictionary entries and outputs a float. I would like to compute f for all pairs in D and sum the results. f is also symmetric, f(a,b) = f(b,a), so I on…

---

## [Why isn’t Symbolic Regression used more?](https://discourse.julialang.org/t/why-isn-t-symbolic-regression-used-more/116215)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 10\
**Last updated:** [June 27, 2024, 6:36pm UTC](https://discourse.julialang.org/t/why-isn-t-symbolic-regression-used-more/116215 "2024-06-27T18:36:07Z")

</div>

Thanks to its ability to dynamically compile expression and execute it efficiently, Julia positions itself very strongly in the symbolic regression landscape. Symbolic regression offers a way to discover formulas with f…

---

## [\[Workgroup\] JuliaHealth Meeting -- June 27th, 2024](https://discourse.julialang.org/t/workgroup-juliahealth-meeting-june-27th-2024/116219)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 2\
**Last updated:** [June 27, 2024, 5:56pm UTC](https://discourse.julialang.org/t/workgroup-juliahealth-meeting-june-27th-2024/116219 "2024-06-27T17:56:42Z")

</div>

Hi everyone! :wave: Hi folks! Two days until our monthly meeting! Sorry for the delay with getting this out, but here is our tentative agenda for this month: New attendee introductions New contributor round-up! JuliaH…

---

## [Chi2 (chisq) fit non-convergence using Optimization.jl](https://discourse.julialang.org/t/chi2-chisq-fit-non-convergence-using-optimization-jl/116313)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 1\
**Last updated:** [June 27, 2024, 5:16pm UTC](https://discourse.julialang.org/t/chi2-chisq-fit-non-convergence-using-optimization-jl/116313 "2024-06-27T17:16:26Z")

</div>

using CairoMakie, FHist using Optimization, OptimizationOptimJL, OptimizationMultistartOptimization hist\_mjj12\_rosa = Hist1D(; binedges=0:2:1000, bincounts=\[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0…

---

## [Reexport.@reexport from submodule does not work: how to diagnose?](https://discourse.julialang.org/t/reexport-reexport-from-submodule-does-not-work-how-to-diagnose/116285)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 3\
**Last updated:** [June 27, 2024, 4:10pm UTC](https://discourse.julialang.org/t/reexport-reexport-from-submodule-does-not-work-how-to-diagnose/116285 "2024-06-27T16:10:39Z")

</div>

I have been using Reexport.@reexport in many of my packages and have never had an issue. At the moment, however, it is not working in one package, even though I think it is used in the same way as in my other packages. …

---

## [Python pyfiles and cis.read\_data() function error](https://discourse.julialang.org/t/python-pyfiles-and-cis-read-data-function-error/115748)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 24\
**Last updated:** [June 27, 2024, 3:33pm UTC](https://discourse.julialang.org/t/python-pyfiles-and-cis-read-data-function-error/115748 "2024-06-27T15:33:35Z")

</div>

Sorry, Please ignore this topic. This topic is useless and confusing. :pig2: I am using python cis.read\_data() function to read hdf5 file and its config file. I am getting errors shown in image below:

---

## [Bayesian parameter estimation of a ODE with Bernouilli multivariate likelihood](https://discourse.julialang.org/t/bayesian-parameter-estimation-of-a-ode-with-bernouilli-multivariate-likelihood/116303)

<div class="topic-metadata">

**Author:** [@Marta\_Pardo\_Araujo](https://discourse.julialang.org/u/Marta_Pardo_Araujo)\
**Replies:** 6\
**Last updated:** [June 27, 2024, 2:44pm UTC](https://discourse.julialang.org/t/bayesian-parameter-estimation-of-a-ode-with-bernouilli-multivariate-likelihood/116303 "2024-06-27T14:44:03Z")

</div>

Hi, I am trying to estimate the parameters of a ODE model with N equations. The model’s output are probabilities, ie, a vector of N probabilities each time step. Each coordinate of the vector defines the probability tha…

---

## [Need help to adjust axis limit of live plot with makie](https://discourse.julialang.org/t/need-help-to-adjust-axis-limit-of-live-plot-with-makie/41638)

<div class="topic-metadata">

**Author:** [@Fringe](https://discourse.julialang.org/u/Fringe)\
**Replies:** 2\
**Last updated:** [June 27, 2024, 2:24pm UTC](https://discourse.julialang.org/t/need-help-to-adjust-axis-limit-of-live-plot-with-makie/41638 "2024-06-27T14:24:49Z")

</div>

currently, the way i live plot with Julia is i write new data to a file, and anytime that file update i update my plot. probably not the best but it works for me anyhow i want to adjust the range of my plot but the probl…

---

## [Create SVector with one non-zero value](https://discourse.julialang.org/t/create-svector-with-one-non-zero-value/116295)

<div class="topic-metadata">

**Author:** [@Alseidon](https://discourse.julialang.org/u/Alseidon)\
**Replies:** 11\
**Last updated:** [June 27, 2024, 2:03pm UTC](https://discourse.julialang.org/t/create-svector-with-one-non-zero-value/116295 "2024-06-27T14:03:16Z")

</div>

I am trying to define a function fc(i) returning a fixed size SVector with zeros everywhere, and a 1 at position i. Is it possible to do this with no allocations, and type stability? My first two tries either were type u…

---

## [How can \`sleep(0.001)\` error?](https://discourse.julialang.org/t/how-can-sleep-0-001-error/113394)

<div class="topic-metadata">

**Author:** [@SunnyUser](https://discourse.julialang.org/u/SunnyUser)\
**Replies:** 14\
**Last updated:** [June 27, 2024, 1:58pm UTC](https://discourse.julialang.org/t/how-can-sleep-0-001-error/113394 "2024-06-27T13:58:29Z")

</div>

Hi all :slight\_smile: How can sleep(0.001) error? ┌ Error: │ EOFError: read end of file │ Stacktrace: │ \[1\] wait │ @ .\\asyncevent.jl:159 \[inlined\] │ \[2\] sleep │ @ .\\asyncevent.jl:265 \[inlined\] This happend on …

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

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