# Latest

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

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

**Page:** 173

---

## [Type-stable function with Flux Chain and Dense](https://discourse.julialang.org/t/type-stable-function-with-flux-chain-and-dense/128689)

<div class="topic-metadata">

**Author:** [@bienpierre](https://discourse.julialang.org/u/bienpierre)\
**Replies:** 3\
**Last updated:** [May 4, 2025, 9:00pm UTC](https://discourse.julialang.org/t/type-stable-function-with-flux-chain-and-dense/128689 "2025-05-04T21:00:22Z")

</div>

Dear All, I’m trying to make the following function containing Flux Chain and Dense type stable. using Flux @kwdef mutable struct Fnn{T \<: Function} neuron::Int = 5 layer::Int = 3 σ::T = Flux.relu end fu…

---

## [Behavior changes with introduction of binding partitions](https://discourse.julialang.org/t/behavior-changes-with-introduction-of-binding-partitions/128660)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 4\
**Last updated:** [May 4, 2025, 8:05pm UTC](https://discourse.julialang.org/t/behavior-changes-with-introduction-of-binding-partitions/128660 "2025-05-04T20:05:49Z")

</div>

Recently Keno merged a few PRs (like this one) that introduce binding partitions. One consequence is that we will now be able to redefine structs. However, there are some other consequences. According to this PR, those c…

---

## [ArbNumerics.jl library update](https://discourse.julialang.org/t/arbnumerics-jl-library-update/128591)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 3\
**Last updated:** [May 4, 2025, 6:43pm UTC](https://discourse.julialang.org/t/arbnumerics-jl-library-update/128591 "2025-05-04T18:43:16Z")

</div>

Version 1.6 of ArbNumerics.jl is released. This release uses the latest arb C library, which is now encapsulated into FLINT3 (see Real and complex numbers (Arb) : detailed table of contents — FLINT 3.3.0-dev documentatio…

---

## [Question on vim sendtowindow](https://discourse.julialang.org/t/question-on-vim-sendtowindow/128691)

<div class="topic-metadata">

**Author:** [@Doug719](https://discourse.julialang.org/u/Doug719)\
**Replies:** 2\
**Last updated:** [May 4, 2025, 6:41pm UTC](https://discourse.julialang.org/t/question-on-vim-sendtowindow/128691 "2025-05-04T18:41:41Z")

</div>

I have installed this on Linux mint. When I open vim and enter :term julia I get a split window with julia REPL on top and vim on the bottom. The active window is the REPL. How do I switch to the vim window? The tmu…

---

## [Indexing of Symbolic Arrays (Arr{Num,3}) not working when a guess is provided in MTK](https://discourse.julialang.org/t/indexing-of-symbolic-arrays-arr-num-3-not-working-when-a-guess-is-provided-in-mtk/128631)

<div class="topic-metadata">

**Author:** [@sass-jacob](https://discourse.julialang.org/u/sass-jacob)\
**Replies:** 2\
**Last updated:** [May 4, 2025, 4:53pm UTC](https://discourse.julialang.org/t/indexing-of-symbolic-arrays-arr-num-3-not-working-when-a-guess-is-provided-in-mtk/128631 "2025-05-04T16:53:04Z")

</div>

Hello, I have created a MWE where the indexing of symbolic arrays begins to fail when I provide an initial guess for the variables as data for MTK. If I remove the guess, the indexing works fine. Edit, more info: if th…

---

## [How to reuse parent Project.toml information](https://discourse.julialang.org/t/how-to-reuse-parent-project-toml-information/128690)

<div class="topic-metadata">

**Author:** [@Abhro](https://discourse.julialang.org/u/Abhro)\
**Replies:** 2\
**Last updated:** [May 4, 2025, 4:11pm UTC](https://discourse.julialang.org/t/how-to-reuse-parent-project-toml-information/128690 "2025-05-04T16:11:49Z")

</div>

In the makedocs() call of docs/Project.toml, how do I use package information, say the authors, from its Project.toml? MWE: using MyPackage using Documenter makedocs(; modules = \[MyPackage\], authors = get\_auth…

---

## [Acausal Modelling and Control Sytem](https://discourse.julialang.org/t/acausal-modelling-and-control-sytem/127003)

<div class="topic-metadata">

**Author:** [@AndhikaTama](https://discourse.julialang.org/u/AndhikaTama)\
**Replies:** 22\
**Last updated:** [May 4, 2025, 3:39pm UTC](https://discourse.julialang.org/t/acausal-modelling-and-control-sytem/127003 "2025-05-04T15:39:55Z")

</div>

Hello everyone, I am a new user of Julia ModelingToolkit and ControlSystem. I am currently working on a project with the topic Nonlinear Dynamic Simulation of a MicroGas Turbine Integrated with Concentrated Solar Therma…

---

## [Simulating keystrokes to external program](https://discourse.julialang.org/t/simulating-keystrokes-to-external-program/128229)

<div class="topic-metadata">

**Author:** [@theogf](https://discourse.julialang.org/u/theogf)\
**Replies:** 3\
**Last updated:** [May 4, 2025, 12:08pm UTC](https://discourse.julialang.org/t/simulating-keystrokes-to-external-program/128229 "2025-05-04T12:08:39Z")

</div>

Hi! I have a package that makes a heavy use of fzf. I would like to test things more thoroughly but this requires interactive actions on fzf itself. I am aware of GitHub - Keno/VT100.jl: Terminal Emulation for terminal…

---

## [How to add additional dependencies to filtered test items?](https://discourse.julialang.org/t/how-to-add-additional-dependencies-to-filtered-test-items/125656)

<div class="topic-metadata">

**Author:** [@doit](https://discourse.julialang.org/u/doit)\
**Replies:** 3\
**Last updated:** [May 4, 2025, 12:06pm UTC](https://discourse.julialang.org/t/how-to-add-additional-dependencies-to-filtered-test-items/125656 "2025-05-04T12:06:49Z")

</div>

Hi, does anyone know if it is possible to add additional package dependencies to @testitems which are usually not executed due to filters in a @run\_package\_tests? To clarify: I do not want to burden users with too man…

---

## [Checking strided array storage order](https://discourse.julialang.org/t/checking-strided-array-storage-order/128685)

<div class="topic-metadata">

**Author:** [@stemann](https://discourse.julialang.org/u/stemann)\
**Replies:** 1\
**Last updated:** [May 4, 2025, 11:18am UTC](https://discourse.julialang.org/t/checking-strided-array-storage-order/128685 "2025-05-04T11:18:08Z")

</div>

Is strides(array) == Base.size\_to\_strides(1, size(array)...) a sane way to check if a strided array is in column-major (alias co-lexicographic, alias Fortran, alias Julia) order, storage-wise? Cf. julia/base/abstracta…

---

## [Difference between vector of functions typed explicitly or via list comprehension](https://discourse.julialang.org/t/difference-between-vector-of-functions-typed-explicitly-or-via-list-comprehension/128671)

<div class="topic-metadata">

**Author:** [@hawahe](https://discourse.julialang.org/u/hawahe)\
**Replies:** 4\
**Last updated:** [May 4, 2025, 10:16am UTC](https://discourse.julialang.org/t/difference-between-vector-of-functions-typed-explicitly-or-via-list-comprehension/128671 "2025-05-04T10:16:51Z")

</div>

Are the following two ways to make a vector of functions equivalent? The latter gives both anonymous functions the name #1 when I expected to see #1 and #2. julia\> Function\[(x) -\> x^2, (x) -\> x^3\] 2-element Vector{Funct…

---

## [\[ANN\] Hedgehog.jl - Derivatives Pricing in Julia](https://discourse.julialang.org/t/ann-hedgehog-jl-derivatives-pricing-in-julia/128663)

<div class="topic-metadata">

**Author:** [@aleCombi](https://discourse.julialang.org/u/aleCombi)\
**Replies:** 3\
**Last updated:** [May 4, 2025, 10:15am UTC](https://discourse.julialang.org/t/ann-hedgehog-jl-derivatives-pricing-in-julia/128663 "2025-05-04T10:15:58Z")

</div>

I’m excited to share that Hedgehog.jl is now available from Julia Registry. What is it? Hedgehog.jl is a modular, composable library for derivatives pricing in Julia. It’s built to help you price options, compute sensit…

---

## [Juliaup: a modest suggestion](https://discourse.julialang.org/t/juliaup-a-modest-suggestion/128465)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 62\
**Last updated:** [May 4, 2025, 9:48am UTC](https://discourse.julialang.org/t/juliaup-a-modest-suggestion/128465 "2025-05-04T09:48:07Z")

</div>

I might suggest that juliaup not be the recommended way to install julia and manage julia installations. Before the cognoscenti jump on me, let me explain why and, then, propose a compromise position, if indeed any easy…

---

## [Concatenate matrices without specifying the size of zero matrices](https://discourse.julialang.org/t/concatenate-matrices-without-specifying-the-size-of-zero-matrices/128681)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 2\
**Last updated:** [May 4, 2025, 7:37am UTC](https://discourse.julialang.org/t/concatenate-matrices-without-specifying-the-size-of-zero-matrices/128681 "2025-05-04T07:37:14Z")

</div>

I wonder if there is a way to concatenate matrices without the need to specifying the size of the zero portions. For square matrices, I have a clever idea as follows julia\> using LinearAlgebra julia\> A = rand(-9:9, 2,…

---

## [Slighly different results for conduction-advection with Neuman boundary conditions: Crank-Nicolson VS. Method of Lines](https://discourse.julialang.org/t/slighly-different-results-for-conduction-advection-with-neuman-boundary-conditions-crank-nicolson-vs-method-of-lines/128488)

<div class="topic-metadata">

**Author:** [@David\_F](https://discourse.julialang.org/u/David_F)\
**Replies:** 1\
**Last updated:** [May 4, 2025, 7:31am UTC](https://discourse.julialang.org/t/slighly-different-results-for-conduction-advection-with-neuman-boundary-conditions-crank-nicolson-vs-method-of-lines/128488 "2025-05-04T07:31:57Z")

</div>

INTRO: Heat conduction + advection problem… 1D spherical coordinates. For Dirichlet BC (bc\_left\_type = “Dirichlet” and bc\_right\_type = “Dirichlet”), the two codes (CN and MOL) return identical results up to machine prec…

---

## [Adding method to function in macro](https://discourse.julialang.org/t/adding-method-to-function-in-macro/128613)

<div class="topic-metadata">

**Author:** [@PatrickHaecker](https://discourse.julialang.org/u/PatrickHaecker)\
**Replies:** 14\
**Last updated:** [May 4, 2025, 4:49am UTC](https://discourse.julialang.org/t/adding-method-to-function-in-macro/128613 "2025-05-04T04:49:53Z")

</div>

I have a package which defines a function and some methods for this function when the package gets loaded. In addition, the package defines a macro which returns an expression which defines additional methods to this fu…

---

## [Derivatives and Symbolics.jacobian in Symbolics.jl](https://discourse.julialang.org/t/derivatives-and-symbolics-jacobian-in-symbolics-jl/89581)

<div class="topic-metadata">

**Author:** [@FelixHeox](https://discourse.julialang.org/u/FelixHeox)\
**Replies:** 6\
**Last updated:** [May 4, 2025, 2:48am UTC](https://discourse.julialang.org/t/derivatives-and-symbolics-jacobian-in-symbolics-jl/89581 "2025-05-04T02:48:51Z")

</div>

Hi, this is my first post here. I am new to using Symbolics.jl (coming from a MATLAB background) and have a couple questions regarding Differential and Symbolics.jacobian. I am using a Mac, and the Pluto environment: @v…

---

## [Plots.jl, colorbar tick labels](https://discourse.julialang.org/t/plots-jl-colorbar-tick-labels/69632)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 4\
**Last updated:** [May 3, 2025, 10:32pm UTC](https://discourse.julialang.org/t/plots-jl-colorbar-tick-labels/69632 "2025-05-03T22:32:44Z")

</div>

Hi everyone, I was wondering whether there is a possibility to define colorbar tick labels manually with Plots.j? By this, I mean something like this: The possibility of passing a Dict that maps numerical values to …

---

## [Empty plot with colorbar and colorbar width](https://discourse.julialang.org/t/empty-plot-with-colorbar-and-colorbar-width/128673)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 3\
**Last updated:** [May 3, 2025, 8:18pm UTC](https://discourse.julialang.org/t/empty-plot-with-colorbar-and-colorbar-width/128673 "2025-05-03T20:18:08Z")

</div>

I’m using Plots with GR Is it possible to make empty plot with colorbar? I try: plot(;colorbar=true, clims = (-0.05, 0.05),c = cg, zcolor = 1) colorbar - not displayed. Is it possible to change width of colorbar?

---

## [Attributes (in particular width) of the colorbar in Plots.jl](https://discourse.julialang.org/t/attributes-in-particular-width-of-the-colorbar-in-plots-jl/32225)

<div class="topic-metadata">

**Author:** [@rad1um](https://discourse.julialang.org/u/rad1um)\
**Replies:** 4\
**Last updated:** [May 3, 2025, 8:24pm UTC](https://discourse.julialang.org/t/attributes-in-particular-width-of-the-colorbar-in-plots-jl/32225 "2025-05-03T20:24:39Z")

</div>

How do I change the attributes of the colorbar in Plots? In particular I would like to change the width and change the location, s.t. it is directly next to the corresponding plot. Thanks in advance.

---

## [\`\`mod1\`\` based Periodic Indexing on GPUs](https://discourse.julialang.org/t/mod1-based-periodic-indexing-on-gpus/128657)

<div class="topic-metadata">

**Author:** [@bpsomu](https://discourse.julialang.org/u/bpsomu)\
**Replies:** 1\
**Last updated:** [May 3, 2025, 5:27pm UTC](https://discourse.julialang.org/t/mod1-based-periodic-indexing-on-gpus/128657 "2025-05-03T17:27:42Z")

</div>

I am using the following approach to apply boundary conditions using mod1 for my Simulation code, that I want to be performant on GPUs: struct DirichletArray{arr\<:AbstractArray, T} data::arr core\_boundary\_value:…

---

## [Collecting into either \`StaticArray\` or \`Array\`](https://discourse.julialang.org/t/collecting-into-either-staticarray-or-array/128669)

<div class="topic-metadata">

**Author:** [@circonflexe](https://discourse.julialang.org/u/circonflexe)\
**Replies:** 0\
**Last updated:** [May 3, 2025, 4:50pm UTC](https://discourse.julialang.org/t/collecting-into-either-staticarray-or-array/128669 "2025-05-03T16:50:43Z")

</div>

I might have missed something in StaticArrays.jl. Is there an agreed type which can contain the length/multidimensional size of an iterator, either statically or dynamically, and which can be used to collect into either …

---

## [Fastest way to sample from MVN, changing parameters](https://discourse.julialang.org/t/fastest-way-to-sample-from-mvn-changing-parameters/128145)

<div class="topic-metadata">

**Author:** [@Daniel\_Johansson](https://discourse.julialang.org/u/Daniel_Johansson)\
**Replies:** 7\
**Last updated:** [May 3, 2025, 4:11pm UTC](https://discourse.julialang.org/t/fastest-way-to-sample-from-mvn-changing-parameters/128145 "2025-05-03T16:11:23Z")

</div>

Hey guys! Does anybody know what is the most efficient way of sampling from a multivariate normal distribution whose parameters are constantly updated. I’m constructing a Gibbs sampler for a MVN whose parameters depend …

---

## [A weird operation to optimize](https://discourse.julialang.org/t/a-weird-operation-to-optimize/128658)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 13\
**Last updated:** [May 3, 2025, 4:04pm UTC](https://discourse.julialang.org/t/a-weird-operation-to-optimize/128658 "2025-05-03T16:04:07Z")

</div>

Hey, The current culprit of my application is the following operation : function weird\_cumsum!(out,in,I,J) # This is equivalent to : # out .= cumsum(in\[I\])\[J\] # but hopefully a bit faster... # We…

---

## [SArray, but heterogeneous?](https://discourse.julialang.org/t/sarray-but-heterogeneous/84674)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 6\
**Last updated:** [May 3, 2025, 3:21pm UTC](https://discourse.julialang.org/t/sarray-but-heterogeneous/84674 "2025-05-03T15:21:12Z")

</div>

Is it possible to have a Julia type for heterogeneous arrays with compile-time-known sizes? In particular I’m thinking of a heterogeneous matrix, so it would be parameterized by number of rows, number of columns and with…

---

## [AI-Generated Documentation(Deepwiki) + Julia](https://discourse.julialang.org/t/ai-generated-documentation-deepwiki-julia/128447)

<div class="topic-metadata">

**Author:** [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)\
**Replies:** 4\
**Last updated:** [May 3, 2025, 2:17pm UTC](https://discourse.julialang.org/t/ai-generated-documentation-deepwiki-julia/128447 "2025-05-03T14:17:16Z")

</div>

AI-Generated Documentation : ( Deepwiki - powered by Devin, an AI coding assistant ) https://deepwiki.com/JuliaLang/julia https://deepwiki.com/JuliaLang/LinearAlgebra.jl https://deepwiki.com/JuliaLang/PackageCompiler.…

---

## [Mastodon julialang.social is out! 😨](https://discourse.julialang.org/t/mastodon-julialang-social-is-out/122723)

<div class="topic-metadata">

**Author:** [@Fabio\_Sodre](https://discourse.julialang.org/u/Fabio_Sodre)\
**Replies:** 12\
**Last updated:** [May 3, 2025, 2:16pm UTC](https://discourse.julialang.org/t/mastodon-julialang-social-is-out/122723 "2025-05-03T14:16:00Z")

</div>

What happened to julialang.social mastodon? it’s out!

---

## [Using Julia on Android?](https://discourse.julialang.org/t/using-julia-on-android/8086)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 48\
**Last updated:** [May 3, 2025, 12:55pm UTC](https://discourse.julialang.org/t/using-julia-on-android/8086 "2025-05-03T12:55:08Z")

</div>

Found this post about using R on Android. Looks like it will work for Julia as well. Now just need a better keyboard for Julia. Any recommendations?

---

## [\[pre-ANN\] Meteostat.jl : A Julia front for the Meteostat weather data API](https://discourse.julialang.org/t/pre-ann-meteostat-jl-a-julia-front-for-the-meteostat-weather-data-api/128650)

<div class="topic-metadata">

**Author:** [@captainoblivious](https://discourse.julialang.org/u/captainoblivious)\
**Replies:** 1\
**Last updated:** [May 3, 2025, 11:16am UTC](https://discourse.julialang.org/t/pre-ann-meteostat-jl-a-julia-front-for-the-meteostat-weather-data-api/128650 "2025-05-03T11:16:36Z")

</div>

Hello, I just made public Meteostat.jl, a julia interface to the Meteostat weather data API. (Disclaimer: I am not affiliated with the Meteostat organisation). The registration to the official Julia registry is pending…

---

## [Is vscode suppose to pick up \`juliaup override\`?](https://discourse.julialang.org/t/is-vscode-suppose-to-pick-up-juliaup-override/128652)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 0\
**Last updated:** [May 3, 2025, 10:16am UTC](https://discourse.julialang.org/t/is-vscode-suppose-to-pick-up-juliaup-override/128652 "2025-05-03T10:16:50Z")

</div>

Because it does not for me. I know i read up about this being a bug a while back but cannot find the source. has it been fixed yet ?

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

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