# Latest

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

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

**Page:** 575

---

## [DynamicalSystems.jl and CUDA.jl](https://discourse.julialang.org/t/dynamicalsystems-jl-and-cuda-jl/105111)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 0\
**Last updated:** [October 18, 2023, 10:31am UTC](https://discourse.julialang.org/t/dynamicalsystems-jl-and-cuda-jl/105111 "2023-10-18T10:31:13Z")

</div>

Hello! Can i use CUDAj.jl and DynamicalSystems.jl together? I calculate map of spectrum Lyapunov exponents with inheritance of initial conditions. I manage to parallelize calculations using Threads.@threads for loop. B…

---

## [Relocation issue during create\_sysimage() of large libraries of code (Flux, FastAI, Cairo)](https://discourse.julialang.org/t/relocation-issue-during-create-sysimage-of-large-libraries-of-code-flux-fastai-cairo/105110)

<div class="topic-metadata">

**Author:** [@raph38130](https://discourse.julialang.org/u/raph38130)\
**Replies:** 0\
**Last updated:** [October 18, 2023, 10:09am UTC](https://discourse.julialang.org/t/relocation-issue-during-create-sysimage-of-large-libraries-of-code-flux-fastai-cairo/105110 "2023-10-18T10:09:38Z")

</div>

julia-1.9.3 on ibm power9 ppc64le I successfully created a sysimage with Flux, FastAI, … but can’t incrementally add CairoMakie due to relocation error. Working sysimage.so is 821MB large. Summary/tmp/jl\_uxK58XMbaX.o(t…

---

## [Avoid allocations on broadcasted getindex()](https://discourse.julialang.org/t/avoid-allocations-on-broadcasted-getindex/105098)

<div class="topic-metadata">

**Author:** [@ejmeitz](https://discourse.julialang.org/u/ejmeitz)\
**Replies:** 2\
**Last updated:** [October 18, 2023, 9:53am UTC](https://discourse.julialang.org/t/avoid-allocations-on-broadcasted-getindex/105098 "2023-10-18T09:53:36Z")

</div>

If I have the code below is there someway to do this without allocating intermediate arrays? It feels like it should be possible but I cant figure it out. I can do this without allocating if I was indexing with a range, …

---

## [Change initial condition by set\_state! DynamicalSystems.jl](https://discourse.julialang.org/t/change-initial-condition-by-set-state-dynamicalsystems-jl/105064)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 8\
**Last updated:** [October 18, 2023, 9:43am UTC](https://discourse.julialang.org/t/change-initial-condition-by-set-state-dynamicalsystems-jl/105064 "2023-10-18T09:43:18Z")

</div>

Hello! I’m trying to change the initial condition using the set\_state! function and I integrate the system, but when I do this, I see that the initial state has not changed. Why doesn’t the initial condition change? Sho…

---

## [Maximum Codimension using BifurcationKit.jl](https://discourse.julialang.org/t/maximum-codimension-using-bifurcationkit-jl/105087)

<div class="topic-metadata">

**Author:** [@Rafalel\_Jupio](https://discourse.julialang.org/u/Rafalel_Jupio)\
**Replies:** 7\
**Last updated:** [October 18, 2023, 9:15am UTC](https://discourse.julialang.org/t/maximum-codimension-using-bifurcationkit-jl/105087 "2023-10-18T09:15:16Z")

</div>

Hello everyone! I am pretty new to Julia, but I have project for which I have to analyse a bifurcation behaviour with codimension 3 for a DDE model. Hence I was wondering if BifurcationKit.jl could handle this, since in…

---

## [Hanging when playing around with tasks](https://discourse.julialang.org/t/hanging-when-playing-around-with-tasks/105065)

<div class="topic-metadata">

**Author:** [@f.ij](https://discourse.julialang.org/u/f.ij)\
**Replies:** 7\
**Last updated:** [October 18, 2023, 8:55am UTC](https://discourse.julialang.org/t/hanging-when-playing-around-with-tasks/105065 "2023-10-18T08:55:28Z")

</div>

I was playing around with tasks and gathering return values from tasks that are opened and closed at will by a user. I wrote the following and I’m experience hangs. mutable struct Process task::Union{Nothing, Task} …

---

## [VSCode autocomplete doesn't work beyond first character](https://discourse.julialang.org/t/vscode-autocomplete-doesnt-work-beyond-first-character/105107)

<div class="topic-metadata">

**Author:** [@Lauel](https://discourse.julialang.org/u/Lauel)\
**Replies:** 1\
**Last updated:** [October 18, 2023, 7:01am UTC](https://discourse.julialang.org/t/vscode-autocomplete-doesnt-work-beyond-first-character/105107 "2023-10-18T07:01:04Z")

</div>

I am new to Julia (coming from a python background). I have done the basic installation and setup in the vscode, but an issue I face is that, autocomplete doesn’t work beyond the first letter. I have attached the screen…

---

## [Why does \`1 \* String\[\]\` return a Vector{Union{}}?](https://discourse.julialang.org/t/why-does-1-string-return-a-vector-union/105049)

<div class="topic-metadata">

**Author:** [@sadish-d](https://discourse.julialang.org/u/sadish-d)\
**Replies:** 9\
**Last updated:** [October 17, 2023, 10:08pm UTC](https://discourse.julialang.org/t/why-does-1-string-return-a-vector-union/105049 "2023-10-17T22:08:25Z")

</div>

1 \* \["a"\] # gives error 1 \* String\[\] # returns Vector{Union{}} Why is the second allowed?

---

## [100X tensor algebra speedup!?!](https://discourse.julialang.org/t/100x-tensor-algebra-speedup/6807)

<div class="topic-metadata">

**Author:** [@TravisA9](https://discourse.julialang.org/u/TravisA9)\
**Replies:** 44\
**Last updated:** [October 18, 2023, 3:10am UTC](https://discourse.julialang.org/t/100x-tensor-algebra-speedup/6807 "2023-10-18T03:10:33Z")

</div>

Found a very interesting article: System for performing ‘tensor algebra’ offers 100-fold speedups over previous software packages I am a newbie in linear algebra but this sounds like something that would be nice to imp…

---

## [Problems using QuickDraw](https://discourse.julialang.org/t/problems-using-quickdraw/105101)

<div class="topic-metadata">

**Author:** [@mpeters2](https://discourse.julialang.org/u/mpeters2)\
**Replies:** 0\
**Last updated:** [October 18, 2023, 2:15am UTC](https://discourse.julialang.org/t/problems-using-quickdraw/105101 "2023-10-18T02:15:36Z")

</div>

I saw this package/talk on how to make deployable stand-alone Julia Apps using Quickdraw\*: here: https://www.youtube.com/watch?v=ruxYAY5\_bfE and here: Quickdraw: The simplest Julia package deployment system :: JuliaCon…

---

## [Scip optimizer presolver components takes too long to optimize matrix](https://discourse.julialang.org/t/scip-optimizer-presolver-components-takes-too-long-to-optimize-matrix/105066)

<div class="topic-metadata">

**Author:** [@mrFox](https://discourse.julialang.org/u/mrFox)\
**Replies:** 1\
**Last updated:** [October 17, 2023, 11:57pm UTC](https://discourse.julialang.org/t/scip-optimizer-presolver-components-takes-too-long-to-optimize-matrix/105066 "2023-10-17T23:57:32Z")

</div>

there are two milp problems. When I use gurobi optimizer they are calculated quite quickly: 263s for matrix 1 and 139s for matrix 2. If I use scip optimizer with parallel extension fiberscip the solution cannot be found.…

---

## [Primal/dual optimization scaling for numerical stability](https://discourse.julialang.org/t/primal-dual-optimization-scaling-for-numerical-stability/105083)

<div class="topic-metadata">

**Author:** [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Replies:** 1\
**Last updated:** [October 17, 2023, 11:51pm UTC](https://discourse.julialang.org/t/primal-dual-optimization-scaling-for-numerical-stability/105083 "2023-10-17T23:51:36Z")

</div>

I am solving a convex QP via ALM and am using Gurobi.jl for benchmarking. I noticed that Gurobi implements some problem scaling techniques (slightly more detail here: https://support.gurobi.com/hc/en-us/community/posts/1…

---

## [I can't help but think debugging memory allocations shouldn't be this hard](https://discourse.julialang.org/t/i-cant-help-but-think-debugging-memory-allocations-shouldnt-be-this-hard/105042)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 18\
**Last updated:** [October 17, 2023, 11:29pm UTC](https://discourse.julialang.org/t/i-cant-help-but-think-debugging-memory-allocations-shouldnt-be-this-hard/105042 "2023-10-17T23:29:07Z")

</div>

I do julia --track-allocation=user b.jl The relevant report here is: and How does this make sense?

---

## [\[ANN\] Announcing Trading.jl](https://discourse.julialang.org/t/ann-announcing-trading-jl/97812)

<div class="topic-metadata">

**Author:** [@louisponet](https://discourse.julialang.org/u/louisponet)\
**Replies:** 33\
**Last updated:** [October 17, 2023, 11:04pm UTC](https://discourse.julialang.org/t/ann-announcing-trading-jl/97812 "2023-10-17T23:04:45Z")

</div>

Hi All, I’m delighted to announce Trading.jl, an event-driven algorithmic trading and backtesting package. It provides an easy-to-use framework for defining and executing trading strategies based on technical indicator…

---

## [Wrong supertype for compiled sysimage](https://discourse.julialang.org/t/wrong-supertype-for-compiled-sysimage/105090)

<div class="topic-metadata">

**Author:** [@Kruxigt](https://discourse.julialang.org/u/Kruxigt)\
**Replies:** 3\
**Last updated:** [October 17, 2023, 10:18pm UTC](https://discourse.julialang.org/t/wrong-supertype-for-compiled-sysimage/105090 "2023-10-17T22:18:29Z")

</div>

I have the following two functions in my code function test\_supertype1(t::Type) return supertype(t) end function test\_supertype2(t::Type{T}) where T \<: AssetLayer return supertype(t) end Normally both work as …

---

## [Shade area under curve with pyplot backend](https://discourse.julialang.org/t/shade-area-under-curve-with-pyplot-backend/105092)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 2\
**Last updated:** [October 17, 2023, 9:46pm UTC](https://discourse.julialang.org/t/shade-area-under-curve-with-pyplot-backend/105092 "2023-10-17T21:46:37Z")

</div>

Hi, I would like to shade the area under a curve with the pyplot backend in Plots.jl. The code works for the GR backend, but not the pyplot backend. Is this a bug or does pyplot require different syntax? using Plots, …

---

## [3D expression in JuMP](https://discourse.julialang.org/t/3d-expression-in-jump/105014)

<div class="topic-metadata">

**Author:** [@papar](https://discourse.julialang.org/u/papar)\
**Replies:** 3\
**Last updated:** [October 17, 2023, 9:37pm UTC](https://discourse.julialang.org/t/3d-expression-in-jump/105014 "2023-10-17T21:37:48Z")

</div>

I want to build the following expression in the optimisation problem defined below. A\_{i0s} = x\_i A\_{its} = A\_{i,t-1,s} + y\_{its} - z\_{its} \\quad \\forall s, \\forall i, \\forall t \> 0 I have given the code that I tr…

---

## [Critique my workflow for small models in Julia](https://discourse.julialang.org/t/critique-my-workflow-for-small-models-in-julia/105089)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 4\
**Last updated:** [October 17, 2023, 7:28pm UTC](https://discourse.julialang.org/t/critique-my-workflow-for-small-models-in-julia/105089 "2023-10-17T19:28:03Z")

</div>

In the process of iterating through lots of toy economic models and writing small scripts to analyze them (make plots, etc.). I’ve gotten into the following workflow, and I’m wondering if (a) it’s reasonable (b) Other p…

---

## [Help to perform scatter density plot with Plots.jl](https://discourse.julialang.org/t/help-to-perform-scatter-density-plot-with-plots-jl/72790)

<div class="topic-metadata">

**Author:** [@bienpierre](https://discourse.julialang.org/u/bienpierre)\
**Replies:** 9\
**Last updated:** [October 17, 2023, 5:24pm UTC](https://discourse.julialang.org/t/help-to-perform-scatter-density-plot-with-plots-jl/72790 "2023-10-17T17:24:59Z")

</div>

Dear all, I would like to perform a scatter density plot with Plots.jl, such as: scatter density: Two way explored : package : KernelDensity.jl, usable to perform some kind of contour plots; There is also the histo…

---

## [Package Manager - Unrecoverable error using packages from GitHub](https://discourse.julialang.org/t/package-manager-unrecoverable-error-using-packages-from-github/105080)

<div class="topic-metadata">

**Author:** [@GenerallyClueless](https://discourse.julialang.org/u/GenerallyClueless)\
**Replies:** 0\
**Last updated:** [October 17, 2023, 4:02pm UTC](https://discourse.julialang.org/t/package-manager-unrecoverable-error-using-packages-from-github/105080 "2023-10-17T16:02:09Z")

</div>

Hello Julia Community! I am working my way through the rest of the POMDP course in Julia Academy. Great course! The Pluto Notebooks seem to be a bit out of date… and this particular challenge relates to the 5th course…

---

## [AIP has a call for papers for software in Chemical Physics](https://discourse.julialang.org/t/aip-has-a-call-for-papers-for-software-in-chemical-physics/105063)

<div class="topic-metadata">

**Author:** [@Knud\_Sorensen](https://discourse.julialang.org/u/Knud_Sorensen)\
**Replies:** 1\
**Last updated:** [October 17, 2023, 2:38pm UTC](https://discourse.julialang.org/t/aip-has-a-call-for-papers-for-software-in-chemical-physics/105063 "2023-10-17T14:38:44Z")

</div>

Maybe a chance to show some julia code.

---

## [Post voting is enabled on this thread](https://discourse.julialang.org/t/post-voting-is-enabled-on-this-thread/105059)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 5\
**Last updated:** [October 17, 2023, 2:15pm UTC](https://discourse.julialang.org/t/post-voting-is-enabled-on-this-thread/105059 "2023-10-17T14:15:40Z")

</div>

I do not recall seeing a post where we can upvote comments on this forum before, but this seems to be available. I have enabled post voting on this thread. See Discourse Post Voting - plugin - Discourse Meta

---

## [Bruce Hansen's "Econometrics"](https://discourse.julialang.org/t/bruce-hansens-econometrics/104324)

<div class="topic-metadata">

**Author:** [@Paul\_Soderlind](https://discourse.julialang.org/u/Paul_Soderlind)\
**Replies:** 4\
**Last updated:** [October 17, 2023, 12:53pm UTC](https://discourse.julialang.org/t/bruce-hansens-econometrics/104324 "2023-10-17T12:53:09Z")

</div>

looks to be the next standard text for PhD econometrics. It has a number of empirical examples (in R, Stata and matlab), with code and data here: Bruce Hansen's Econometrics It shouldn’t be too hard to port the matlab c…

---

## [Could we create a Documentation Category in Discourse?](https://discourse.julialang.org/t/could-we-create-a-documentation-category-in-discourse/104814)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 16\
**Last updated:** [October 17, 2023, 12:04pm UTC](https://discourse.julialang.org/t/could-we-create-a-documentation-category-in-discourse/104814 "2023-10-17T12:04:25Z")

</div>

One of the recent Slack threads was pointing out how other languages such as Clojure and PHP have nice indices with user comments. I am wondering if we could co-opt Discourse for this this purpose. To avoid crowding out…

---

## [Error with a system of coupled ODEs with complex coefficients](https://discourse.julialang.org/t/error-with-a-system-of-coupled-odes-with-complex-coefficients/105027)

<div class="topic-metadata">

**Author:** [@Sh\_166](https://discourse.julialang.org/u/Sh_166)\
**Replies:** 7\
**Last updated:** [October 17, 2023, 11:41am UTC](https://discourse.julialang.org/t/error-with-a-system-of-coupled-odes-with-complex-coefficients/105027 "2023-10-17T11:41:09Z")

</div>

I was trying to solve a system of coupled differential equations with imaginary coefficients and I ran into a weird trouble. MWE: using Symbolics, Plots, DifferentialEquations, ModelingToolkit, LaTeXStrings, Measures, …

---

## [10 Julia Recipes You Can't Miss](https://discourse.julialang.org/t/10-julia-recipes-you-cant-miss/103298)

<div class="topic-metadata">

**Author:** [@VinodV](https://discourse.julialang.org/u/VinodV)\
**Replies:** 28\
**Last updated:** [October 17, 2023, 11:14am UTC](https://discourse.julialang.org/t/10-julia-recipes-you-cant-miss/103298 "2023-10-17T11:14:04Z")

</div>

I have published a blog titled : 10 Julia Recipes You Can’t Miss. Please suggest alternate or efficient methods to recipes or additionally what and all other recipes that can be included in the list.

---

## [JSServe crashing when recording plot of matrix views](https://discourse.julialang.org/t/jsserve-crashing-when-recording-plot-of-matrix-views/105053)

<div class="topic-metadata">

**Author:** [@sceptri](https://discourse.julialang.org/u/sceptri)\
**Replies:** 0\
**Last updated:** [October 17, 2023, 9:26am UTC](https://discourse.julialang.org/t/jsserve-crashing-when-recording-plot-of-matrix-views/105053 "2023-10-17T09:26:59Z")

</div>

Hello everyone, consider the following MWE code using Observables, JSServe, WGLMakie, Markdown App() do session::Session n = Slider(5:10) xs = 1:10 ys = rand(length(xs)) fig = Figure() axis = Axis(fig\[1,1\]) xs…

---

## [Revise not triggering in Docker container with mounted volume](https://discourse.julialang.org/t/revise-not-triggering-in-docker-container-with-mounted-volume/27631)

<div class="topic-metadata">

**Author:** [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Replies:** 8\
**Last updated:** [October 17, 2023, 8:02am UTC](https://discourse.julialang.org/t/revise-not-triggering-in-docker-container-with-mounted-volume/27631 "2023-10-17T08:02:10Z")

</div>

I have a docker container based off julia:latest. The container is configured to run Julia apps and I mount the local app folder into the container. So Julia runs within the container while the files are edited on the ho…

---

## [Lazy virtually indexed version of vcat hcat cat?](https://discourse.julialang.org/t/lazy-virtually-indexed-version-of-vcat-hcat-cat/105045)

<div class="topic-metadata">

**Author:** [@pxshen](https://discourse.julialang.org/u/pxshen)\
**Replies:** 2\
**Last updated:** [October 17, 2023, 7:31am UTC](https://discourse.julialang.org/t/lazy-virtually-indexed-version-of-vcat-hcat-cat/105045 "2023-10-17T07:31:30Z")

</div>

Is there a lazy virtually indexed version of vcat hcat cat which doesn’t allocate new array?

---

## [Improving performance for training Universal Differential Equation](https://discourse.julialang.org/t/improving-performance-for-training-universal-differential-equation/105038)

<div class="topic-metadata">

**Author:** [@rkube](https://discourse.julialang.org/u/rkube)\
**Replies:** 3\
**Last updated:** [October 17, 2023, 7:18am UTC](https://discourse.julialang.org/t/improving-performance-for-training-universal-differential-equation/105038 "2023-10-17T07:18:22Z")

</div>

Hi, I’m trying to understand the performance bottlenecks in training universal differential equations. Following this guide, benchmarking the training shows that optimizing the parameters of the Lux network requires a l…

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

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