# Latest

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

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

**Page:** 585

---

## [Possible troubles when mul!(Y, A , transpose(B) )?](https://discourse.julialang.org/t/possible-troubles-when-mul-y-a-transpose-b/104548)

<div class="topic-metadata">

**Author:** [@ddcampayo](https://discourse.julialang.org/u/ddcampayo)\
**Replies:** 9\
**Last updated:** [October 4, 2023, 7:01am UTC](https://discourse.julialang.org/t/possible-troubles-when-mul-y-a-transpose-b/104548 "2023-10-04T07:01:32Z")

</div>

Hi, everyone. I’m new to this language, I’ve been loving it so far, despite having encountered some setbacks. One of them could be a memory leak when multiplying a matrix with its transpose. I use the mul!(Y,A,B) functi…

---

## [Advice on gmail filters to deal with large amount of GitHub PR information](https://discourse.julialang.org/t/advice-on-gmail-filters-to-deal-with-large-amount-of-github-pr-information/104554)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 0\
**Last updated:** [October 4, 2023, 12:32am UTC](https://discourse.julialang.org/t/advice-on-gmail-filters-to-deal-with-large-amount-of-github-pr-information/104554 "2023-10-04T00:32:59Z")

</div>

I’m probably not the only one who uses g-mail and who get tons of messages like this: Do people have some clever filters to remove the less interesting GitHub mails from their repos (but keep the more interesting one…

---

## [How to use package extensions](https://discourse.julialang.org/t/how-to-use-package-extensions/104553)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 11\
**Last updated:** [October 3, 2023, 10:15pm UTC](https://discourse.julialang.org/t/how-to-use-package-extensions/104553 "2023-10-03T22:15:59Z")

</div>

A while back, I thought I figured out how to use the new package extensions feature. Unfortunately, I was wrong. I tried putting together a working example here. I added it to a new environment along with Distributions.j…

---

## [Using WriteVTK to write DiffEq sol to disk during timestepping](https://discourse.julialang.org/t/using-writevtk-to-write-diffeq-sol-to-disk-during-timestepping/104517)

<div class="topic-metadata">

**Author:** [@jarias9](https://discourse.julialang.org/u/jarias9)\
**Replies:** 1\
**Last updated:** [October 3, 2023, 9:57pm UTC](https://discourse.julialang.org/t/using-writevtk-to-write-diffeq-sol-to-disk-during-timestepping/104517 "2023-10-03T21:57:24Z")

</div>

Just had a quick question regarding alternative saving behavior for DiffEq. I was wondering if there was a way to write all solution data directly to disk with WriteVTK as timestepping advances instead of having all of m…

---

## [Julia v1.10.0-beta3 is now available](https://discourse.julialang.org/t/julia-v1-10-0-beta3-is-now-available/104551)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [October 3, 2023, 8:07pm UTC](https://discourse.julialang.org/t/julia-v1-10-0-beta3-is-now-available/104551 "2023-10-03T20:07:46Z")

</div>

The Julia developers are pleased to announce that the third beta version for Julia v1.10.0 is now available. You can download binaries for v1.10.0-beta3 at https://julialang.org/downloads/ in the “upcoming release” secti…

---

## [Makie/CairoMakie custom colorbar ticks (\> and \<)](https://discourse.julialang.org/t/makie-cairomakie-custom-colorbar-ticks-and/104460)

<div class="topic-metadata">

**Author:** [@ewillcox](https://discourse.julialang.org/u/ewillcox)\
**Replies:** 2\
**Last updated:** [October 3, 2023, 7:08pm UTC](https://discourse.julialang.org/t/makie-cairomakie-custom-colorbar-ticks-and/104460 "2023-10-03T19:08:37Z")

</div>

Hello, I’d like to customize my Colorbar() ticks in Makie/CairoMakie I have reduced the colorrange on a graph since I have outliers that I do wish to display but don’t wish to have impact my colormap. Currently the tic…

---

## [Genie: Basic API backend question](https://discourse.julialang.org/t/genie-basic-api-backend-question/104523)

<div class="topic-metadata">

**Author:** [@Ethan\_Leonard](https://discourse.julialang.org/u/Ethan_Leonard)\
**Replies:** 2\
**Last updated:** [October 3, 2023, 6:34pm UTC](https://discourse.julialang.org/t/genie-basic-api-backend-question/104523 "2023-10-03T18:34:46Z")

</div>

I keep getting this error : ######################### ERROR STACKTRACE ######################### Expected end of input Line: 0 Around: …11092×16 DataFrame Row… But when I run the code (excluding the routes) in …

---

## [GenieBuilder Fails to start new App](https://discourse.julialang.org/t/geniebuilder-fails-to-start-new-app/104546)

<div class="topic-metadata">

**Author:** [@Ravi\_Kumar\_Gubbala\_2](https://discourse.julialang.org/u/Ravi_Kumar_Gubbala_2)\
**Replies:** 0\
**Last updated:** [October 3, 2023, 5:09pm UTC](https://discourse.julialang.org/t/geniebuilder-fails-to-start-new-app/104546 "2023-10-03T17:09:46Z")

</div>

I have installed Julia Version 1.9.3, VS Code and GenieBuilder 0.4.11 successfully. I have created a App and started the App. It failed with the errors. Log pasted below. Please help. Thank you ┌ Info: 2023-10-03 22:…

---

## [Compute (Bayesian) R2 for Turing models](https://discourse.julialang.org/t/compute-bayesian-r2-for-turing-models/104537)

<div class="topic-metadata">

**Author:** [@DominiqueMakowski](https://discourse.julialang.org/u/DominiqueMakowski)\
**Replies:** 2\
**Last updated:** [October 3, 2023, 5:17pm UTC](https://discourse.julialang.org/t/compute-bayesian-r2-for-turing-models/104537 "2023-10-03T17:17:47Z")

</div>

Somehow my google search didn’t yield many results for how to compute R2 for Turing models. StatsBase.jl defines a few generic methods, but I was in particular interested in the so-called Bayesian R2 (Gelman et al., 201…

---

## [Trying to solve a SDP problem with quadratic constraints](https://discourse.julialang.org/t/trying-to-solve-a-sdp-problem-with-quadratic-constraints/104461)

<div class="topic-metadata">

**Author:** [@golanor](https://discourse.julialang.org/u/golanor)\
**Replies:** 3\
**Last updated:** [October 3, 2023, 5:06pm UTC](https://discourse.julialang.org/t/trying-to-solve-a-sdp-problem-with-quadratic-constraints/104461 "2023-10-03T17:06:43Z")

</div>

Hi, I’m trying to solve a SDP with quadratic constraints and I get the following error Unable to transform a quadratic constraint into a second-order cone constraint because the quadratic constraint is not strongly conv…

---

## [Plotting a vector field in a grid structure](https://discourse.julialang.org/t/plotting-a-vector-field-in-a-grid-structure/104492)

<div class="topic-metadata">

**Author:** [@Undercover](https://discourse.julialang.org/u/Undercover)\
**Replies:** 1\
**Last updated:** [October 3, 2023, 2:38pm UTC](https://discourse.julialang.org/t/plotting-a-vector-field-in-a-grid-structure/104492 "2023-10-03T14:38:25Z")

</div>

Hello there, I’m solving the Maxwell’s equation numerically in R^3, and I’m trying to create a plot which draws a vector in the point in 3D space. Essentially, I’m trying to make a plot that looks like the following, min…

---

## [Markov Switching Regression](https://discourse.julialang.org/t/markov-switching-regression/23223)

<div class="topic-metadata">

**Author:** [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Replies:** 4\
**Last updated:** [October 3, 2023, 3:16pm UTC](https://discourse.julialang.org/t/markov-switching-regression/23223 "2023-10-03T15:16:10Z")

</div>

Is there anything like GitHub - msperlin/MS\_Regress-Matlab: Repository for MS\_Regress, a matlab package for estimation and simulation of markov regime switching models for Markov “regime switching” written in Julia? I kn…

---

## [Indexing an array with an array of indices](https://discourse.julialang.org/t/indexing-an-array-with-an-array-of-indices/104533)

<div class="topic-metadata">

**Author:** [@wosined](https://discourse.julialang.org/u/wosined)\
**Replies:** 5\
**Last updated:** [October 3, 2023, 2:21pm UTC](https://discourse.julialang.org/t/indexing-an-array-with-an-array-of-indices/104533 "2023-10-03T14:21:38Z")

</div>

I have a multidimensional array A = \[ 0 for x=1:5,y=1:5,z=1:5\] I also have an array of indices I = \[1,2,3\] I wish to get the element of A at the indices determined by I. For example I want to retrieve A\[1,2,3\] …

---

## [General Registry: Create tag for macro usage](https://discourse.julialang.org/t/general-registry-create-tag-for-macro-usage/104528)

<div class="topic-metadata">

**Author:** [@ShalokShalom](https://discourse.julialang.org/u/ShalokShalom)\
**Replies:** 6\
**Last updated:** [October 3, 2023, 1:24pm UTC](https://discourse.julialang.org/t/general-registry-create-tag-for-macro-usage/104528 "2023-10-03T13:24:42Z")

</div>

In a recent discussion about newbie friendliness, the topic about macros came up. Someone suggested, that it may be beneficial to prevent auto merges to the general registry, for code that uses them. I think that’s a bi…

---

## [MethodOfLines PDESystem with Internal Systems](https://discourse.julialang.org/t/methodoflines-pdesystem-with-internal-systems/104409)

<div class="topic-metadata">

**Author:** [@johnb](https://discourse.julialang.org/u/johnb)\
**Replies:** 1\
**Last updated:** [October 3, 2023, 1:13pm UTC](https://discourse.julialang.org/t/methodoflines-pdesystem-with-internal-systems/104409 "2023-10-03T13:13:52Z")

</div>

The definition for a PDESystem seems to show that internal systems are compatible, (PDESystem · ModelingToolkit.jl) but it looks like discretization of the PDESystem does not look at these systems, causing errors when di…

---

## [Incorporating Auxiliary Calculations as Functions in ModelingToolkit PDE Definitions, Method of Lines](https://discourse.julialang.org/t/incorporating-auxiliary-calculations-as-functions-in-modelingtoolkit-pde-definitions-method-of-lines/104428)

<div class="topic-metadata">

**Author:** [@Can\_Bozdogan](https://discourse.julialang.org/u/Can_Bozdogan)\
**Replies:** 1\
**Last updated:** [October 3, 2023, 1:09pm UTC](https://discourse.julialang.org/t/incorporating-auxiliary-calculations-as-functions-in-modelingtoolkit-pde-definitions-method-of-lines/104428 "2023-10-03T13:09:21Z")

</div>

Hello everyone, I’ve been working on a PDE model using the ModelingToolkit, MethodOfLines, and DifferentialEquations packages, and I’ve run into some challenges that I’m hoping to get guidance on. For confidentiality re…

---

## [Method of Lines Interface index error](https://discourse.julialang.org/t/method-of-lines-interface-index-error/104402)

<div class="topic-metadata">

**Author:** [@Can\_Bozdogan](https://discourse.julialang.org/u/Can_Bozdogan)\
**Replies:** 1\
**Last updated:** [October 3, 2023, 1:01pm UTC](https://discourse.julialang.org/t/method-of-lines-interface-index-error/104402 "2023-10-03T13:01:36Z")

</div>

Hi everyone, I’m new to Julia language, this is my first time asking a question, so please forgive me if there is any mistake in my question format. I have been working on discretizing a PDE system by using MethodOfLin…

---

## [RobustAndOptimalControl.jl Named State Space With Time Delay](https://discourse.julialang.org/t/robustandoptimalcontrol-jl-named-state-space-with-time-delay/104515)

<div class="topic-metadata">

**Author:** [@matthew3245](https://discourse.julialang.org/u/matthew3245)\
**Replies:** 2\
**Last updated:** [October 3, 2023, 11:50am UTC](https://discourse.julialang.org/t/robustandoptimalcontrol-jl-named-state-space-with-time-delay/104515 "2023-10-03T11:50:42Z")

</div>

Is there a way to make a named state space model with a time delay? The following code produces an error: julia\> named\_ss(ss(-1, 1, I, 0)) \* delay(0.1) ERROR: promotion of types NamedStateSpace{Continuous, StateSpace{Co…

---

## [RobustAndOptimalControl.jl Uncertain Time Delays For State Space Models](https://discourse.julialang.org/t/robustandoptimalcontrol-jl-uncertain-time-delays-for-state-space-models/104514)

<div class="topic-metadata">

**Author:** [@matthew3245](https://discourse.julialang.org/u/matthew3245)\
**Replies:** 2\
**Last updated:** [October 3, 2023, 11:50am UTC](https://discourse.julialang.org/t/robustandoptimalcontrol-jl-uncertain-time-delays-for-state-space-models/104514 "2023-10-03T11:50:06Z")

</div>

I can’t get uncertain time delays for state space models to work. For example, the following code: julia\> using LinearAlgebra, ControlSystems, RobustAndOptimalControl, MonteCarloMeasurements julia\> P = ss(-1, 1, I, 0) j…

---

## [\[ANN\] RequiredInterfaces.jl](https://discourse.julialang.org/t/ann-requiredinterfaces-jl/101296)

<div class="topic-metadata">

**Author:** [@Sukera](https://discourse.julialang.org/u/Sukera)\
**Replies:** 5\
**Last updated:** [October 3, 2023, 9:26am UTC](https://discourse.julialang.org/t/ann-requiredinterfaces-jl/101296 "2023-10-03T09:26:47Z")

</div>

Hello everyone! I’m excited to announce the first version of RequiredInterfaces.jl, a tiny package whose sole purpose is to give package authors the ability to declare the minimum required methods a type needs to impleme…

---

## [Zygote performances for simple function](https://discourse.julialang.org/t/zygote-performances-for-simple-function/104465)

<div class="topic-metadata">

**Author:** [@rcalxrc08](https://discourse.julialang.org/u/rcalxrc08)\
**Replies:** 14\
**Last updated:** [October 3, 2023, 9:19am UTC](https://discourse.julialang.org/t/zygote-performances-for-simple-function/104465 "2023-10-03T09:19:12Z")

</div>

Hi all, I have a the following example in Zygote for computing a single gradient, and I don’t understand why I get this performance regression over the following examples: using SpecialFunctions,BenchmarkTools,Zygote,I…

---

## [Get unique Request ID for each request hit to the Same API of julia in Genie Framework](https://discourse.julialang.org/t/get-unique-request-id-for-each-request-hit-to-the-same-api-of-julia-in-genie-framework/104530)

<div class="topic-metadata">

**Author:** [@Jayesh\_Patil](https://discourse.julialang.org/u/Jayesh_Patil)\
**Replies:** 0\
**Last updated:** [October 3, 2023, 9:15am UTC](https://discourse.julialang.org/t/get-unique-request-id-for-each-request-hit-to-the-same-api-of-julia-in-genie-framework/104530 "2023-10-03T09:15:18Z")

</div>

I have an API in which some calculations are happening on input data and its time consuming process. So, if multiple clients hit the same API at a time and while processing if any client want to stop the execution of th…

---

## [A bug in using varinfo() when there is 3d data in the struct structure!](https://discourse.julialang.org/t/a-bug-in-using-varinfo-when-there-is-3d-data-in-the-struct-structure/104449)

<div class="topic-metadata">

**Author:** [@13299118606](https://discourse.julialang.org/u/13299118606)\
**Replies:** 4\
**Last updated:** [October 3, 2023, 7:40am UTC](https://discourse.julialang.org/t/a-bug-in-using-varinfo-when-there-is-3d-data-in-the-struct-structure/104449 "2023-10-03T07:40:36Z")

</div>

There is a bug in using varinfo when there is three-dimensional data in the struct structure. When there is 3d data inside the structure, it will greatly slow down the corresponding response speed when using varinfo. The…

---

## ["contains" as operator?](https://discourse.julialang.org/t/contains-as-operator/74715)

<div class="topic-metadata">

**Author:** [@Chris\_Green](https://discourse.julialang.org/u/Chris_Green)\
**Replies:** 21\
**Last updated:** [October 3, 2023, 6:48am UTC](https://discourse.julialang.org/t/contains-as-operator/74715 "2023-10-03T06:48:41Z")

</div>

I wondered why you can’t search for a substring with “in”, like “za” in “pizza” While it would be nice, and match python, after searching, I can also understand the difference between “in” searching for an element, not…

---

## [Package Registration Issues](https://discourse.julialang.org/t/package-registration-issues/104424)

<div class="topic-metadata">

**Author:** [@bvanderbeek](https://discourse.julialang.org/u/bvanderbeek)\
**Replies:** 5\
**Last updated:** [October 3, 2023, 6:18am UTC](https://discourse.julialang.org/t/package-registration-issues/104424 "2023-10-03T06:18:21Z")

</div>

I need help registering my first package (New package: TauP v0.1.0 by JuliaRegistrator · Pull Request #92501 · JuliaRegistries/General · GitHub). There are two issues I’m encountering, Name does not meet guidelines (to…

---

## [\[ANN\] Ephemeris Fetching with SPICEKernels.jl](https://discourse.julialang.org/t/ann-ephemeris-fetching-with-spicekernels-jl/104524)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 0\
**Last updated:** [October 3, 2023, 4:16am UTC](https://discourse.julialang.org/t/ann-ephemeris-fetching-with-spicekernels-jl/104524 "2023-10-03T04:16:03Z")

</div>

This package has been out for some time, but I have been relatively quiet about it until now. I’ve released SPICEKernels.jl, which allows for simple Generic Kernel downloading, caching, and inspecting. I have a pipeline …

---

## [Add named colors and use them in PlotlyJS](https://discourse.julialang.org/t/add-named-colors-and-use-them-in-plotlyjs/104522)

<div class="topic-metadata">

**Author:** [@mjmat](https://discourse.julialang.org/u/mjmat)\
**Replies:** 0\
**Last updated:** [October 3, 2023, 3:47am UTC](https://discourse.julialang.org/t/add-named-colors-and-use-them-in-plotlyjs/104522 "2023-10-03T03:47:59Z")

</div>

Hello, First, I am not sure how to properly add named colors to Colors.jl - I think that might be the main problem. I managed to (apparently) add a named color by running: using Colors Colors.color\_names = merge!(Colo…

---

## [Very slow loading speed of TIFF images](https://discourse.julialang.org/t/very-slow-loading-speed-of-tiff-images/99826)

<div class="topic-metadata">

**Author:** [@Kadii](https://discourse.julialang.org/u/Kadii)\
**Replies:** 15\
**Last updated:** [October 3, 2023, 1:07am UTC](https://discourse.julialang.org/t/very-slow-loading-speed-of-tiff-images/99826 "2023-10-03T01:07:09Z")

</div>

I’m very new to Julia. I’m trying to replace my Matlab code with Julia. I compared TIFF image loading speeds in Matlab and Julia, but the Matlab’s imread() is way faster than the Images’ load(). Is there any way to speed…

---

## [Julia backend for Polyglot Notebooks](https://discourse.julialang.org/t/julia-backend-for-polyglot-notebooks/104489)

<div class="topic-metadata">

**Author:** [@ShalokShalom](https://discourse.julialang.org/u/ShalokShalom)\
**Replies:** 3\
**Last updated:** [October 2, 2023, 7:59pm UTC](https://discourse.julialang.org/t/julia-backend-for-polyglot-notebooks/104489 "2023-10-02T19:59:50Z")

</div>

Hi lovely people :smile: :+1:t3: Microsoft develops a special kernel for Jupyter Notebooks that can interact with different languages. That way, you can share variables between F#, R, Javascript, Python and others. I…

---

## [Is it possible/advisable to have multiline error message?](https://discourse.julialang.org/t/is-it-possible-advisable-to-have-multiline-error-message/104513)

<div class="topic-metadata">

**Author:** [@David\_Sagan](https://discourse.julialang.org/u/David_Sagan)\
**Replies:** 1\
**Last updated:** [October 2, 2023, 9:44pm UTC](https://discourse.julialang.org/t/is-it-possible-advisable-to-have-multiline-error-message/104513 "2023-10-02T21:44:31Z")

</div>

throw shows a multiline (has \\n characters) string as a single line. Example: julia\> throw("a\\n b") ERROR: "a\\n b" Stacktrace: \[1\] top-level scope @ REPL\[3\]:1 Is it possible to have a multiline error message? Is th…

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

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