# Latest

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

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

**Page:** 305

---

## [Julia v1.11.0 has been released and v1.10 is now LTS](https://discourse.julialang.org/t/julia-v1-11-0-has-been-released-and-v1-10-is-now-lts/121064)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [October 8, 2024, 4:22pm UTC](https://discourse.julialang.org/t/julia-v1-11-0-has-been-released-and-v1-10-is-now-lts/121064 "2024-10-08T16:22:05Z")

</div>

The Julia developers are pleased to announce the release of Julia v1.11.0, the eleventh minor release in the 1.x series. Some folks put together a blog post highlighting some of the most exciting new features in 1.11 and…

---

## [Unobservable linearized model in ModelPredictiveControl.jl](https://discourse.julialang.org/t/unobservable-linearized-model-in-modelpredictivecontrol-jl/121052)

<div class="topic-metadata">

**Author:** [@Bart\_van\_de\_Lint](https://discourse.julialang.org/u/Bart_van_de_Lint)\
**Replies:** 7\
**Last updated:** [October 8, 2024, 3:57pm UTC](https://discourse.julialang.org/t/unobservable-linearized-model-in-modelpredictivecontrol-jl/121052 "2024-10-08T15:57:25Z")

</div>

I have a model that I am trying to linearize around x\_0 in order to use a linear MPC in ModelPredictiveControl.jl. println("linearize") linmodel = ModelPredictiveControl.linearize(model; x=x\_0) println("sim") u = \[100,…

---

## [Heap-size-hint in MPIClusterManager.jl for out of memory problems](https://discourse.julialang.org/t/heap-size-hint-in-mpiclustermanager-jl-for-out-of-memory-problems/121050)

<div class="topic-metadata">

**Author:** [@sparrowhawk](https://discourse.julialang.org/u/sparrowhawk)\
**Replies:** 3\
**Last updated:** [October 8, 2024, 2:23pm UTC](https://discourse.julialang.org/t/heap-size-hint-in-mpiclustermanager-jl-for-out-of-memory-problems/121050 "2024-10-08T14:23:15Z")

</div>

Hi, for the MPI transport option, where only MPI can be used for communication on the cluster, I’ve gotten the example from MPIClusterManagers.jl working well for my use case. However, I would like to add a heap size hin…

---

## [Juliaup not updating to 1.11.0](https://discourse.julialang.org/t/juliaup-not-updating-to-1-11-0/121062)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 5\
**Last updated:** [October 8, 2024, 2:19pm UTC](https://discourse.julialang.org/t/juliaup-not-updating-to-1-11-0/121062 "2024-10-08T14:19:55Z")

</div>

Does juliaup get updated at the same time that the latest release is released? My computer (PI on raspberry PI OS) does not recognize 1.11.0 as the release candidate, nor can I juliaup add 1.11.0. When should I expect …

---

## [Simple sum types](https://discourse.julialang.org/t/simple-sum-types/121048)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 7\
**Last updated:** [October 8, 2024, 1:47pm UTC](https://discourse.julialang.org/t/simple-sum-types/121048 "2024-10-08T13:47:35Z")

</div>

There are quite a few julia packages for sum types: SumTypes.jl Unityper.jl LightSumTypes.jl Moshi.jl Probably more. For my usecase, I am looking for a sum types package with the following tradeoffs: I don’t need pa…

---

## [Constraints in SymbolicRegression.jl](https://discourse.julialang.org/t/constraints-in-symbolicregression-jl/121063)

<div class="topic-metadata">

**Author:** [@PrimulaBunce](https://discourse.julialang.org/u/PrimulaBunce)\
**Replies:** 0\
**Last updated:** [October 8, 2024, 1:26pm UTC](https://discourse.julialang.org/t/constraints-in-symbolicregression-jl/121063 "2024-10-08T13:26:50Z")

</div>

Hi, I was experimenting with the constraints parameter in SymbolicRegression.jl. So, my original equation is y = \\mathrm{sin}(2x\_4) + x\_1^2 \\,. I believe the size/complexity of sin here is 3. Since \\mathrm{sin…

---

## [How to find package preventing others from updating](https://discourse.julialang.org/t/how-to-find-package-preventing-others-from-updating/8235)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 19\
**Last updated:** [October 8, 2024, 12:02pm UTC](https://discourse.julialang.org/t/how-to-find-package-preventing-others-from-updating/8235 "2024-10-08T12:02:46Z")

</div>

While trying to upgrade a package I found that some other package held it back with an upper version bound. To track down the offending package, I found the following function useful function find\_holdback(held\_back\_pac…

---

## [Reaction-advection-diffusion in VoronoiFVM](https://discourse.julialang.org/t/reaction-advection-diffusion-in-voronoifvm/119252)

<div class="topic-metadata">

**Author:** [@Alicanter](https://discourse.julialang.org/u/Alicanter)\
**Replies:** 2\
**Last updated:** [October 8, 2024, 11:28am UTC](https://discourse.julialang.org/t/reaction-advection-diffusion-in-voronoifvm/119252 "2024-10-08T11:28:17Z")

</div>

I was trying to use VoronoiFVM.jl and I am not sure I understand how to build a Physics object correctly. This is probably because of my lack of knowledge about FVM in general. I have a PDE in 2D with two species and t…

---

## [Install packages behind the proxy](https://discourse.julialang.org/t/install-packages-behind-the-proxy/23298)

<div class="topic-metadata">

**Author:** [@ni\_ck](https://discourse.julialang.org/u/ni_ck)\
**Replies:** 18\
**Last updated:** [October 8, 2024, 11:30am UTC](https://discourse.julialang.org/t/install-packages-behind-the-proxy/23298 "2024-10-08T11:30:46Z")

</div>

Hi everyone! I try to use Julia in my current job. But have trouble with installing packages behind the proxy. I use 1.1.0 binaries. error massage: julia\> Pkg.add(“IJulia”) Cloning default registries into ~/.julia …

---

## [How can I create a fancier REPL prompt with styled strings? (was: Make \`Base.textwidth\` ignore ANSI sequences)](https://discourse.julialang.org/t/how-can-i-create-a-fancier-repl-prompt-with-styled-strings-was-make-base-textwidth-ignore-ansi-sequences/120782)

<div class="topic-metadata">

**Author:** [@HanD](https://discourse.julialang.org/u/HanD)\
**Replies:** 12\
**Last updated:** [October 8, 2024, 11:18am UTC](https://discourse.julialang.org/t/how-can-i-create-a-fancier-repl-prompt-with-styled-strings-was-make-base-textwidth-ignore-ansi-sequences/120782 "2024-10-08T11:18:51Z")

</div>

I’m trying to spice up my Julia REPL prompt with ANSI color codes (not just one single color, but multiple colors in the same line). However, it messes up the cursor alignment, because the code in REPL.jl also counts the…

---

## [\[ANN\] DifferentiationInterface - gradients for everyone](https://discourse.julialang.org/t/ann-differentiationinterface-gradients-for-everyone/113644)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 5\
**Last updated:** [October 8, 2024, 10:19am UTC](https://discourse.julialang.org/t/ann-differentiationinterface-gradients-for-everyone/113644 "2024-10-08T10:19:29Z")

</div>

Julia’s composability has rather interesting consequences for its automatic differentiation ecosystem. Whereas Python programmers first choose a backend (like PyTorch or JAX) and then write code that is specifically tail…

---

## [Accuracy of TRBDF2 vs matlab's ode23tb?](https://discourse.julialang.org/t/accuracy-of-trbdf2-vs-matlabs-ode23tb/120801)

<div class="topic-metadata">

**Author:** [@pulk\_jain](https://discourse.julialang.org/u/pulk_jain)\
**Replies:** 15\
**Last updated:** [October 8, 2024, 10:17am UTC](https://discourse.julialang.org/t/accuracy-of-trbdf2-vs-matlabs-ode23tb/120801 "2024-10-08T10:17:52Z")

</div>

I noticed that trbdf2 solved my system the fastest but was much less accurate than matlab’s ode23tb. Some derivatives that should be zero are somehow non-zero even 100s of steps later. By this I mean, du\[m:n\]=0 from sol…

---

## [Center Axis in Plot](https://discourse.julialang.org/t/center-axis-in-plot/121015)

<div class="topic-metadata">

**Author:** [@jamesmulhern](https://discourse.julialang.org/u/jamesmulhern)\
**Replies:** 4\
**Last updated:** [October 8, 2024, 9:04am UTC](https://discourse.julialang.org/t/center-axis-in-plot/121015 "2024-10-08T09:04:59Z")

</div>

Does anyone know how to center the axis window when using Plots.jl and the default backend (GR?) I have been working though all of the attributes and I cannot get it to have equal margins on both sides. I have set marg…

---

## [Using GLM programmatically](https://discourse.julialang.org/t/using-glm-programmatically/30828)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 8\
**Last updated:** [October 8, 2024, 8:13am UTC](https://discourse.julialang.org/t/using-glm-programmatically/30828 "2024-10-08T08:13:07Z")

</div>

I would like to perform linear regression in a loop with variables. For example, using DataFrames, GLM data = DataFrame(X=\[1,2,3\], Y=\[2,4,7\]) var1 = :Y var2 = :X ols = lm(@formula($var1 ~ $var2), data) I tried vari…

---

## [New blog post about Julia parametric types and constructors](https://discourse.julialang.org/t/new-blog-post-about-julia-parametric-types-and-constructors/120717)

<div class="topic-metadata">

**Author:** [@Maurizio\_Tomasi](https://discourse.julialang.org/u/Maurizio_Tomasi)\
**Replies:** 11\
**Last updated:** [October 8, 2024, 7:53am UTC](https://discourse.julialang.org/t/new-blog-post-about-julia-parametric-types-and-constructors/120717 "2024-10-08T07:53:34Z")

</div>

Hi all, I have published the first part of a two-part blog post describing how Julia’s parametric constructor works. I wrote this because several of my students use Julia to implement simulation codes, and I have found …

---

## [Cannot save plots](https://discourse.julialang.org/t/cannot-save-plots/121009)

<div class="topic-metadata">

**Author:** [@brandonlivio](https://discourse.julialang.org/u/brandonlivio)\
**Replies:** 2\
**Last updated:** [October 8, 2024, 7:40am UTC](https://discourse.julialang.org/t/cannot-save-plots/121009 "2024-10-08T07:40:15Z")

</div>

I cannot save a plot on Julia. The following code using Plots plot(1:10) savefig("test.png") returns GKS: dlopen(/Users/brandonlivio/.julia/artifacts/4cab0d575711b60d292e4bd3088c55d27752a8ea/lib/cairoplugin.so, 1): Li…

---

## [JavaScript implementation of Julia's dispatch rules](https://discourse.julialang.org/t/javascript-implementation-of-julias-dispatch-rules/120979)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 5\
**Last updated:** [October 8, 2024, 7:23am UTC](https://discourse.julialang.org/t/javascript-implementation-of-julias-dispatch-rules/120979 "2024-10-08T07:23:12Z")

</div>

I’ve thought for a while that it would be neat to have interactive javascript components for docs pages where you can select the methods you’re interested in for a given function. I’m thinking of some kind of multiple-dr…

---

## [Expectation-Maximization for Kalman Filter with Continuous State Variables](https://discourse.julialang.org/t/expectation-maximization-for-kalman-filter-with-continuous-state-variables/120983)

<div class="topic-metadata">

**Author:** [@adannenberg](https://discourse.julialang.org/u/adannenberg)\
**Replies:** 3\
**Last updated:** [October 8, 2024, 6:54am UTC](https://discourse.julialang.org/t/expectation-maximization-for-kalman-filter-with-continuous-state-variables/120983 "2024-10-08T06:54:33Z")

</div>

I would like to use a Kalman Filter + the EM algorithm to fit model parameters for a Hidden Markov Model with continuous hidden state variables, and then use the Kalman filter for prediction using the fitted parameters. …

---

## [Measure in arbitrary bases - how to find quantum gates](https://discourse.julialang.org/t/measure-in-arbitrary-bases-how-to-find-quantum-gates/120923)

<div class="topic-metadata">

**Author:** [@yao\_novice](https://discourse.julialang.org/u/yao_novice)\
**Replies:** 4\
**Last updated:** [October 8, 2024, 2:19am UTC](https://discourse.julialang.org/t/measure-in-arbitrary-bases-how-to-find-quantum-gates/120923 "2024-10-08T02:19:50Z")

</div>

I have a qubit |ψ⟩ and I want it to measure in bell states. My procedure is now to calculate the transformation matrix U=Σ|i⟩⟨b\_i| where |i⟩ is the computation basis and ⟨b\_i| are the bell states. It works so far. The …

---

## [Using Symbolics.jl to generate 13th Degree Chebyshev Polynomial Approximation for Sin function between 0 and Pi/2](https://discourse.julialang.org/t/using-symbolics-jl-to-generate-13th-degree-chebyshev-polynomial-approximation-for-sin-function-between-0-and-pi-2/121034)

<div class="topic-metadata">

**Author:** [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Replies:** 1\
**Last updated:** [October 8, 2024, 1:43am UTC](https://discourse.julialang.org/t/using-symbolics-jl-to-generate-13th-degree-chebyshev-polynomial-approximation-for-sin-function-between-0-and-pi-2/121034 "2024-10-08T01:43:44Z")

</div>

You can always use ApproxFun.jl or you can write your own fully automated (textual) Chebyshev function generator for sin function using Symbolics.jl. using Symbolics @syms Cos(var1) func(var1) @variables a b pi x new…

---

## [Simple Model using ModelingToolkit and Clapeyron failing](https://discourse.julialang.org/t/simple-model-using-modelingtoolkit-and-clapeyron-failing/120874)

<div class="topic-metadata">

**Author:** [@JarodMcCormick](https://discourse.julialang.org/u/JarodMcCormick)\
**Replies:** 5\
**Last updated:** [October 7, 2024, 11:57pm UTC](https://discourse.julialang.org/t/simple-model-using-modelingtoolkit-and-clapeyron-failing/120874 "2024-10-07T23:57:01Z")

</div>

I’ve been working on implementing some simple models utilizing both ModelingToolkit and Clapeyron. I put together this simple model of a generic compressor: using ModelingToolkit, NonlinearSolve using Clapeyron model =…

---

## [Fastest way for GLMM](https://discourse.julialang.org/t/fastest-way-for-glmm/119892)

<div class="topic-metadata">

**Author:** [@Juh](https://discourse.julialang.org/u/Juh)\
**Replies:** 6\
**Last updated:** [October 7, 2024, 11:18pm UTC](https://discourse.julialang.org/t/fastest-way-for-glmm/119892 "2024-10-07T23:18:38Z")

</div>

Hi, I am conducting a single-cell eQTL analysis using Julia. I have several covariates (genotype PCs, sex, age) and a random effect represented by sample ID, as the single-cell data is quite structured. The model should…

---

## [How to draw a graph with GraphMakie and remove whitespace around it?](https://discourse.julialang.org/t/how-to-draw-a-graph-with-graphmakie-and-remove-whitespace-around-it/121008)

<div class="topic-metadata">

**Author:** [@Xing\_Shi\_Cai](https://discourse.julialang.org/u/Xing_Shi_Cai)\
**Replies:** 4\
**Last updated:** [October 7, 2024, 8:02pm UTC](https://discourse.julialang.org/t/how-to-draw-a-graph-with-graphmakie-and-remove-whitespace-around-it/121008 "2024-10-07T20:02:49Z")

</div>

There is an example in GraphMakie.jl using CairoMakie using GraphMakie using Graphs g = wheel\_graph(10) f, ax, p = graphplot(g) hidedecorations!(ax); hidespines!(ax) ax.aspect = DataAspect() The result is a picture li…

---

## [Compliance on displacement control model](https://discourse.julialang.org/t/compliance-on-displacement-control-model/120934)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 1\
**Last updated:** [October 7, 2024, 6:49pm UTC](https://discourse.julialang.org/t/compliance-on-displacement-control-model/120934 "2024-10-07T18:49:28Z")

</div>

Hi, I have a domain with applied displacement BC. To find the compliance I read this in a paper “due to equilibrium requirements and the use of displacement control, the components of the external force vector, f F , …

---

## [Reformulating optimization problem with normalization constraints](https://discourse.julialang.org/t/reformulating-optimization-problem-with-normalization-constraints/121017)

<div class="topic-metadata">

**Author:** [@legio](https://discourse.julialang.org/u/legio)\
**Replies:** 3\
**Last updated:** [October 7, 2024, 6:27pm UTC](https://discourse.julialang.org/t/reformulating-optimization-problem-with-normalization-constraints/121017 "2024-10-07T18:27:37Z")

</div>

Hi! I’m pretty new to julia and optimization, and I’m trying to set up a optimization problem over a decision variable X \\in \\mathbb{R}^{m \\times n} that would semantically capture assignment of “targets” in the rows of …

---

## [How do i format my vector function correct for ploting with quiver?](https://discourse.julialang.org/t/how-do-i-format-my-vector-function-correct-for-ploting-with-quiver/121019)

<div class="topic-metadata">

**Author:** [@Knud\_Sorensen](https://discourse.julialang.org/u/Knud_Sorensen)\
**Replies:** 1\
**Last updated:** [October 7, 2024, 5:54pm UTC](https://discourse.julialang.org/t/how-do-i-format-my-vector-function-correct-for-ploting-with-quiver/121019 "2024-10-07T17:54:31Z")

</div>

Hi. I have the following function I what to make a vector plot of: I have: using Plots using LinearAlgebra L=0.1 s=\[0 -L/2\] e=\[0 L/2\] l=e-s function GDA(x,y) if 0==x && 0==y return 0.0 end ra=\[x y\]-s rb=\[x y\]…

---

## [Has Julia met your need for AI and ML?](https://discourse.julialang.org/t/has-julia-met-your-need-for-ai-and-ml/119818)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discourse.julialang.org/u/hack3rcon)\
**Replies:** 26\
**Last updated:** [October 7, 2024, 5:28pm UTC](https://discourse.julialang.org/t/has-julia-met-your-need-for-ai-and-ml/119818 "2024-10-07T17:28:12Z")

</div>

Hello, Has Julia met your AI and ML needs? I mean, have you ever regretted choosing Julia when doing AI and ML projects? Thank you.

---

## [Makie recipe with multiple axes](https://discourse.julialang.org/t/makie-recipe-with-multiple-axes/121013)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 4\
**Last updated:** [October 7, 2024, 4:13pm UTC](https://discourse.julialang.org/t/makie-recipe-with-multiple-axes/121013 "2024-10-07T16:13:15Z")

</div>

Is it currently possible to define a recipe with multiple axes in Makie.jl? Say I have a full recipe called MyPlot that acts on a type T, I want the call myplot(obj::T) to return a figure with 2x2 grid layout filled with…

---

## [Connection to BigQuery with GoogleStorage](https://discourse.julialang.org/t/connection-to-bigquery-with-googlestorage/120930)

<div class="topic-metadata">

**Author:** [@ErwanPiR](https://discourse.julialang.org/u/ErwanPiR)\
**Replies:** 4\
**Last updated:** [October 7, 2024, 4:01pm UTC](https://discourse.julialang.org/t/connection-to-bigquery-with-googlestorage/120930 "2024-10-07T16:01:08Z")

</div>

Hi, I have a question regarding the usage of the package GoogleCloud.jl Following the documentation, I manage to connect to a bucket in Google Cloud Storage but the documentation doesn’t provide a example to connect to…

---

## [Tuple-based (immutable, ordered) Dictionary and nested REPLCompletion](https://discourse.julialang.org/t/tuple-based-immutable-ordered-dictionary-and-nested-replcompletion/121004)

<div class="topic-metadata">

**Author:** [@marquito](https://discourse.julialang.org/u/marquito)\
**Replies:** 2\
**Last updated:** [October 7, 2024, 3:48pm UTC](https://discourse.julialang.org/t/tuple-based-immutable-ordered-dictionary-and-nested-replcompletion/121004 "2024-10-07T15:48:51Z")

</div>

Hi! Since I couldn’t find a tuple-based (immutable and ordered) dictionary I came up with the following: struct TupleDict{K,V} \<: AbstractDict{K,V} ks::Tuple{Vararg{K}} vs::Tuple{Vararg{V}} function TupleDict{K,…

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

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