# Latest

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

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

**Page:** 333

---

## [Why does the plot of EnsembleProblem differ from the original ODEProblem?](https://discourse.julialang.org/t/why-does-the-plot-of-ensembleproblem-differ-from-the-original-odeproblem/118415)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 2\
**Last updated:** [August 29, 2024, 5:59pm UTC](https://discourse.julialang.org/t/why-does-the-plot-of-ensembleproblem-differ-from-the-original-odeproblem/118415 "2024-08-29T17:59:44Z")

</div>

I assume that if I don’t change the problem in EnsembleProblem, the EnsembleSummary should produce the same plot as the original ODEProblem solution. Simple example: module test using Plots, StatsPlots using LinearAlg…

---

## [How to add an inset to a plot](https://discourse.julialang.org/t/how-to-add-an-inset-to-a-plot/37189)

<div class="topic-metadata">

**Author:** [@jipphysics](https://discourse.julialang.org/u/jipphysics)\
**Replies:** 14\
**Last updated:** [August 29, 2024, 2:40pm UTC](https://discourse.julialang.org/t/how-to-add-an-inset-to-a-plot/37189 "2024-08-29T14:40:16Z")

</div>

I am trying to understand how to plot a figure with an inset in Julia using the Plots package. I have tried the examples in the documentation without too much success (see https://docs.juliaplots.org/latest/layouts/). I …

---

## [How to concatenate matrices views without copying memory?](https://discourse.julialang.org/t/how-to-concatenate-matrices-views-without-copying-memory/118760)

<div class="topic-metadata">

**Author:** [@Blumenkranz](https://discourse.julialang.org/u/Blumenkranz)\
**Replies:** 3\
**Last updated:** [August 29, 2024, 1:08pm UTC](https://discourse.julialang.org/t/how-to-concatenate-matrices-views-without-copying-memory/118760 "2024-08-29T13:08:21Z")

</div>

Using vcat to catenate views leads to memory allocation which is contrary to the original intent of @views. CatViews.jl can address the issue to some extent, but it is only applicable to vectors. I wonder if there is a w…

---

## [Where to post a feedback request on a blog article I wrote](https://discourse.julialang.org/t/where-to-post-a-feedback-request-on-a-blog-article-i-wrote/118759)

<div class="topic-metadata">

**Author:** [@younes](https://discourse.julialang.org/u/younes)\
**Replies:** 2\
**Last updated:** [August 29, 2024, 1:07pm UTC](https://discourse.julialang.org/t/where-to-post-a-feedback-request-on-a-blog-article-i-wrote/118759 "2024-08-29T13:07:16Z")

</div>

Hi, I have written a blog post about Manual back propagation in Julia and I’m not sure which category to pick and to request feedback from the community

---

## [\[ANN\] WaterLily.jl: A differentiable fluid simulator with fast heterogeneous execution](https://discourse.julialang.org/t/ann-waterlily-jl-a-differentiable-fluid-simulator-with-fast-heterogeneous-execution/97941)

<div class="topic-metadata">

**Author:** [@b-fg](https://discourse.julialang.org/u/b-fg)\
**Replies:** 9\
**Last updated:** [August 29, 2024, 12:40pm UTC](https://discourse.julialang.org/t/ann-waterlily-jl-a-differentiable-fluid-simulator-with-fast-heterogeneous-execution/97941 "2024-08-29T12:40:19Z")

</div>

WaterLily.jl v1.0 is out! :tada: WaterLily is a simple and fast fluid simulator written in pure Julia. It solves the unsteady incompressible 2D or 3D Navier-Stokes equations on a Cartesian grid. The pressure Poisson equ…

---

## [Sneaky devils: beware links to malware on GitHub](https://discourse.julialang.org/t/sneaky-devils-beware-links-to-malware-on-github/118651)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 13\
**Last updated:** [August 29, 2024, 10:55am UTC](https://discourse.julialang.org/t/sneaky-devils-beware-links-to-malware-on-github/118651 "2024-08-29T10:55:44Z")

</div>

Posted an issue. Someone apparently on Github (it looked like a totally legitimate page https://github.com/NeonRST) suggested I download and install something from a link they provided. I said no thank you, I don’t insta…

---

## [Pick the value from a result](https://discourse.julialang.org/t/pick-the-value-from-a-result/118713)

<div class="topic-metadata">

**Author:** [@Stephen](https://discourse.julialang.org/u/Stephen)\
**Replies:** 1\
**Last updated:** [August 29, 2024, 8:36am UTC](https://discourse.julialang.org/t/pick-the-value-from-a-result/118713 "2024-08-29T08:36:46Z")

</div>

Here is a solution of a Bayesian inference using RxInfer: julia\> result Inference results: Posteriors | available for (i\_β) julia\> result.posteriors Dict{Symbol, Vector{Dirichlet{Float64, Vector{Float64}, Float…

---

## [Pluto + REPL](https://discourse.julialang.org/t/pluto-repl/90277)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 2\
**Last updated:** [August 26, 2024, 5:44pm UTC](https://discourse.julialang.org/t/pluto-repl/90277 "2024-08-26T17:44:59Z")

</div>

I love Pluto. But I also love REPL and sometimes some things still feels better off to be done there. These mostly include fast evaluations and IO operations. Do you have any setup/ideas how to synchronize a Pluto note…

---

## [Which function in julia.Flux is similar to "detach()" in pytorch?](https://discourse.julialang.org/t/which-function-in-julia-flux-is-similar-to-detach-in-pytorch/118757)

<div class="topic-metadata">

**Author:** [@ZC\_H](https://discourse.julialang.org/u/ZC_H)\
**Replies:** 2\
**Last updated:** [August 29, 2024, 8:59am UTC](https://discourse.julialang.org/t/which-function-in-julia-flux-is-similar-to-detach-in-pytorch/118757 "2024-08-29T08:59:36Z")

</div>

When I train a network using pytorch, sometimes I do not what a tensor participate in gradient backward. But however, I cannot find a function that is similar to “detach()” in julia.Flux. So when I use julia to train a n…

---

## [My second order ODE explodes](https://discourse.julialang.org/t/my-second-order-ode-explodes/118758)

<div class="topic-metadata">

**Author:** [@minetest2048](https://discourse.julialang.org/u/minetest2048)\
**Replies:** 1\
**Last updated:** [August 29, 2024, 8:15am UTC](https://discourse.julialang.org/t/my-second-order-ode-explodes/118758 "2024-08-29T08:15:30Z")

</div>

I’m trying to simulate a one-body problem: Two-Body Numerical Solution in an Inertial Frame — Orbital Mechanics & Astrodynamics \\ddot{r} = \\frac{-GM}{|r|^3}r = \\frac{\\mu}{|r|^3}r Which can be split into: \\ddot{r\_x} =…

---

## [How to print the unprintable? (how to inspect variables where println fails)](https://discourse.julialang.org/t/how-to-print-the-unprintable-how-to-inspect-variables-where-println-fails/118600)

<div class="topic-metadata">

**Author:** [@orebas](https://discourse.julialang.org/u/orebas)\
**Replies:** 2\
**Last updated:** [August 29, 2024, 6:50am UTC](https://discourse.julialang.org/t/how-to-print-the-unprintable-how-to-inspect-variables-where-println-fails/118600 "2024-08-29T06:50:37Z")

</div>

I am trying to debug some code which is giving a cryptic error. (This is the same MWE from this question. I have made some small changes to the symbolics package, i.e. trying to print out the relevant variables. This …

---

## [Help with dataframes please](https://discourse.julialang.org/t/help-with-dataframes-please/118502)

<div class="topic-metadata">

**Author:** [@DTL](https://discourse.julialang.org/u/DTL)\
**Replies:** 5\
**Last updated:** [August 29, 2024, 5:03am UTC](https://discourse.julialang.org/t/help-with-dataframes-please/118502 "2024-08-29T05:03:13Z")

</div>

Hi, I’ve got a large CSV file I’m trying to analyse in Julia. I can load it into a data frame easily and I’ve got the column types identified correctly. Format is basically Location datetime value area1, 2024-07-20 2…

---

## [Structure inheritance](https://discourse.julialang.org/t/structure-inheritance/118699)

<div class="topic-metadata">

**Author:** [@mesonepigreco](https://discourse.julialang.org/u/mesonepigreco)\
**Replies:** 6\
**Last updated:** [August 29, 2024, 2:19am UTC](https://discourse.julialang.org/t/structure-inheritance/118699 "2024-08-29T02:19:30Z")

</div>

Hi, I have defined an abstract type AbstractQuantumParticle, and then a specific structure QuantumParticle \<: AbstractQuantumParticle which has some fields like position and momentum. Let us say now I want to add an ex…

---

## [Game Idea: Chemistry Dynamics in Real Life](https://discourse.julialang.org/t/game-idea-chemistry-dynamics-in-real-life/118727)

<div class="topic-metadata">

**Author:** [@kapple](https://discourse.julialang.org/u/kapple)\
**Replies:** 4\
**Last updated:** [August 29, 2024, 12:13am UTC](https://discourse.julialang.org/t/game-idea-chemistry-dynamics-in-real-life/118727 "2024-08-29T00:13:12Z")

</div>

TL; DR: There is a void in the gaming industry of a high-quality chemistry game in the context of the real world that wholesomely traps people in being educated. Someone could fill that gap… :eyes: Wildfrost. Slay the …

---

## [Using automatic differentiation to compute the Taylor expansion coefficients for ODE systems](https://discourse.julialang.org/t/using-automatic-differentiation-to-compute-the-taylor-expansion-coefficients-for-ode-systems/118726)

<div class="topic-metadata">

**Author:** [@Bingwei\_Zhang](https://discourse.julialang.org/u/Bingwei_Zhang)\
**Replies:** 3\
**Last updated:** [August 28, 2024, 10:35pm UTC](https://discourse.julialang.org/t/using-automatic-differentiation-to-compute-the-taylor-expansion-coefficients-for-ode-systems/118726 "2024-08-28T22:35:37Z")

</div>

I am looking for a Julia package that can provide high-order Taylor expansion coefficients of the solution for a given ODE system and initial conditions using automatic differentiation. It does not need to solve the ODE.…

---

## [Using derived quantities from previous time step](https://discourse.julialang.org/t/using-derived-quantities-from-previous-time-step/118642)

<div class="topic-metadata">

**Author:** [@pulk\_jain](https://discourse.julialang.org/u/pulk_jain)\
**Replies:** 11\
**Last updated:** [August 28, 2024, 10:29pm UTC](https://discourse.julialang.org/t/using-derived-quantities-from-previous-time-step/118642 "2024-08-28T22:29:54Z")

</div>

What is the best way to use a derived value (not part of the solution vector) from the previous time step. I was thinking of passing it like a parameter and updating at each time. I did something like: #Approach1 funct…

---

## [PrettyTables display for StructArray](https://discourse.julialang.org/t/prettytables-display-for-structarray/118732)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 5\
**Last updated:** [August 28, 2024, 9:34pm UTC](https://discourse.julialang.org/t/prettytables-display-for-structarray/118732 "2024-08-28T21:34:26Z")

</div>

I like how DataFrame displays with PrettyTables.pretty\_table by default. If I want the same behavior for StructArray , can I make that happen without bad consequences?

---

## [Distributed arrays in for loop](https://discourse.julialang.org/t/distributed-arrays-in-for-loop/118728)

<div class="topic-metadata">

**Author:** [@clempe](https://discourse.julialang.org/u/clempe)\
**Replies:** 2\
**Last updated:** [August 28, 2024, 9:17pm UTC](https://discourse.julialang.org/t/distributed-arrays-in-for-loop/118728 "2024-08-28T21:17:15Z")

</div>

Hi, I’m trying to get distributed arrays to work correctly for my distributed for loop. I’m getting this weird outcome where not all workers do their task always, even though I know they’ve been assigned correctly (using…

---

## [What imported TOML files create in Julia](https://discourse.julialang.org/t/what-imported-toml-files-create-in-julia/118733)

<div class="topic-metadata">

**Author:** [@coloradoriverboy](https://discourse.julialang.org/u/coloradoriverboy)\
**Replies:** 4\
**Last updated:** [August 28, 2024, 8:36pm UTC](https://discourse.julialang.org/t/what-imported-toml-files-create-in-julia/118733 "2024-08-28T20:36:43Z")

</div>

I was given the slide below in a presentation to show how Julia creates dictionaries from TOML sections but I think it is incorrect unless I am not understanding , I would think the \[SLS\] section had two key value pairs…

---

## [Selecting entries of an array based on selection criteria provided by other array](https://discourse.julialang.org/t/selecting-entries-of-an-array-based-on-selection-criteria-provided-by-other-array/118632)

<div class="topic-metadata">

**Author:** [@oscarvdvelde](https://discourse.julialang.org/u/oscarvdvelde)\
**Replies:** 10\
**Last updated:** [August 28, 2024, 8:35pm UTC](https://discourse.julialang.org/t/selecting-entries-of-an-array-based-on-selection-criteria-provided-by-other-array/118632 "2024-08-28T20:35:36Z")

</div>

Consider this example, which may run in a loop where selection is updated. a = \[1.0,1.2,0.9, 3.4, 4.5,4.5, 9.7, -1.5,-2.1\] b = \[1,1,1,2,3,3,4,5,5\] # e.g. a grouping of a selection = \[1,3,5\] # these groups # What I…

---

## [CUDA Profiler](https://discourse.julialang.org/t/cuda-profiler/118683)

<div class="topic-metadata">

**Author:** [@Jason\_Meziere](https://discourse.julialang.org/u/Jason_Meziere)\
**Replies:** 4\
**Last updated:** [August 28, 2024, 7:51pm UTC](https://discourse.julialang.org/t/cuda-profiler/118683 "2024-08-28T19:51:20Z")

</div>

I was running CUDA.@profile on one of my functions and noticed a large portion of time is missing from the report. I don’t have an MWE, but I would like to still ask. In general, what are the usual sources or suspects in…

---

## [Accessing properties/fields that are multiple properties/fields "deep"](https://discourse.julialang.org/t/accessing-properties-fields-that-are-multiple-properties-fields-deep/118731)

<div class="topic-metadata">

**Author:** [@mgalenb](https://discourse.julialang.org/u/mgalenb)\
**Replies:** 3\
**Last updated:** [August 28, 2024, 7:39pm UTC](https://discourse.julialang.org/t/accessing-properties-fields-that-are-multiple-properties-fields-deep/118731 "2024-08-28T19:39:18Z")

</div>

Not sure exactly the best way to phrase the question. I have a bunch of custom types that get stacked together and I am trying use getproperty to get at things buried in these types. struct Foo a::Integer b::Integer end…

---

## [Source code annotation using NVTX in CUDA.jl](https://discourse.julialang.org/t/source-code-annotation-using-nvtx-in-cuda-jl/118730)

<div class="topic-metadata">

**Author:** [@Cibin\_Joseph](https://discourse.julialang.org/u/Cibin_Joseph)\
**Replies:** 2\
**Last updated:** [August 28, 2024, 7:07pm UTC](https://discourse.julialang.org/t/source-code-annotation-using-nvtx-in-cuda-jl/118730 "2024-08-28T19:07:50Z")

</div>

I’ve been able to get source code annotation working with the CUDA.jl source code but not with my own kernels. For example, the following MWE does not seem to work and complains with unsupported call to unknown functio…

---

## [Matrix inverse and multivariate normal distribution](https://discourse.julialang.org/t/matrix-inverse-and-multivariate-normal-distribution/118724)

<div class="topic-metadata">

**Author:** [@fmor](https://discourse.julialang.org/u/fmor)\
**Replies:** 2\
**Last updated:** [August 28, 2024, 6:07pm UTC](https://discourse.julialang.org/t/matrix-inverse-and-multivariate-normal-distribution/118724 "2024-08-28T18:07:09Z")

</div>

Hello, I am fitting a spatio-temporal-and-informed-with-covariates bayesian model in Julia. I have a regression vector with prior distribution \\vec{\\beta}\_t \\sim \\mathcal{N}\_p(\\vec{b\_0},s^2I) (where p is the number of c…

---

## [Julia v1.10.5 has been released](https://discourse.julialang.org/t/julia-v1-10-5-has-been-released/118720)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [August 28, 2024, 3:55pm UTC](https://discourse.julialang.org/t/julia-v1-10-5-has-been-released/118720 "2024-08-28T15:55:28Z")

</div>

Julia version 1.10.5, the fifth patch release in the 1.10 series of releases, is now available. Binaries are available via Juliaup and at https://julialang.org/downloads/ for macOS (Intel and M-series processors), Window…

---

## [Misspecified Turing.jl model?](https://discourse.julialang.org/t/misspecified-turing-jl-model/118451)

<div class="topic-metadata">

**Author:** [@Domenic\_Di\_Francesco](https://discourse.julialang.org/u/Domenic_Di_Francesco)\
**Replies:** 2\
**Last updated:** [August 28, 2024, 3:22pm UTC](https://discourse.julialang.org/t/misspecified-turing-jl-model/118451 "2024-08-28T15:22:16Z")

</div>

hi everyone - I’m thinking I may have miss-specified a Turing model :thinking: I want to combine measurements of X, from 2 tests: test A, has a known precision (test\_A\_error) test B has an unknown precision (test\_B\_er…

---

## [Isapprox in tests and a more precise result / reason for failure](https://discourse.julialang.org/t/isapprox-in-tests-and-a-more-precise-result-reason-for-failure/89648)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 5\
**Last updated:** [November 2, 2022, 1:05pm UTC](https://discourse.julialang.org/t/isapprox-in-tests-and-a-more-precise-result-reason-for-failure/89648 "2022-11-02T13:05:29Z")

</div>

I am currently working on some tests. And fore some algorithms I compare the result to a known (analytical or via another algorithm) solution. Now when trying to optimise for example speed of an algorithm, it might suff…

---

## [Plots.jl failing to precompile on Windows11](https://discourse.julialang.org/t/plots-jl-failing-to-precompile-on-windows11/118694)

<div class="topic-metadata">

**Author:** [@GregVernon](https://discourse.julialang.org/u/GregVernon)\
**Replies:** 11\
**Last updated:** [August 28, 2024, 3:06pm UTC](https://discourse.julialang.org/t/plots-jl-failing-to-precompile-on-windows11/118694 "2024-08-28T15:06:45Z")

</div>

I’ve seen a few other posts related to build issues with Plots.jl (and FFMPEG.jl), but it’s not clear to me what is / if there is a solution – and the final comment in the last of those examples recommends the previous p…

---

## [Timescalecalculus pkg in Julia](https://discourse.julialang.org/t/timescalecalculus-pkg-in-julia/118718)

<div class="topic-metadata">

**Author:** [@khaledharizb](https://discourse.julialang.org/u/khaledharizb)\
**Replies:** 0\
**Last updated:** [August 28, 2024, 3:05pm UTC](https://discourse.julialang.org/t/timescalecalculus-pkg-in-julia/118718 "2024-08-28T15:05:05Z")

</div>

There is a way to deal with the continuous and the discrete calculus simultaneously by the-so called time scale calculus (TSC) I found a python library for TSC https://timescalewiki.org/index.php/Timescalecalculus\_pyth…

---

## [Handling memory](https://discourse.julialang.org/t/handling-memory/118692)

<div class="topic-metadata">

**Author:** [@pnkgharde](https://discourse.julialang.org/u/pnkgharde)\
**Replies:** 2\
**Last updated:** [August 28, 2024, 12:26pm UTC](https://discourse.julialang.org/t/handling-memory/118692 "2024-08-28T12:26:00Z")

</div>

There is any function or option just like c/c++ pointer in julia ?

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

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