# Latest

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

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

**Page:** 824

---

## [Package version conflicts](https://discourse.julialang.org/t/package-version-conflicts/92047)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 6\
**Last updated:** [January 2, 2023, 7:36pm UTC](https://discourse.julialang.org/t/package-version-conflicts/92047 "2023-01-02T19:36:15Z")

</div>

If two packages, say, Flux.jl and Lux.jl, included different versions of Zygote.jl, would this be an issue? Manifest.jl appears to only list one version of each module. What happens in this case? Thanks. Gordon

---

## [DataDrivenDiffEq input question](https://discourse.julialang.org/t/datadrivendiffeq-input-question/92159)

<div class="topic-metadata">

**Author:** [@ejmeitz](https://discourse.julialang.org/u/ejmeitz)\
**Replies:** 4\
**Last updated:** [January 2, 2023, 5:12pm UTC](https://discourse.julialang.org/t/datadrivendiffeq-input-question/92159 "2023-01-02T17:12:05Z")

</div>

I was playing with sparse regression within DataDrivenDiffEq.jl and noticed that when I input a differential equation solution object vs. the discrete data contained in that solution I get wildly different answers. The O…

---

## [Extending julia with C or C++ like python?](https://discourse.julialang.org/t/extending-julia-with-c-or-c-like-python/92406)

<div class="topic-metadata">

**Author:** [@yexiangyan](https://discourse.julialang.org/u/yexiangyan)\
**Replies:** 3\
**Last updated:** [January 2, 2023, 3:14pm UTC](https://discourse.julialang.org/t/extending-julia-with-c-or-c-like-python/92406 "2023-01-02T15:14:07Z")

</div>

Hello everyone. Since I have a C++ library that already has a python interface, it works by the mechanism of getting the arguments passed from a python function and then doing a series of parsing jobs. Something like th…

---

## [Solid of Revolution from Python to Julia](https://discourse.julialang.org/t/solid-of-revolution-from-python-to-julia/92354)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 2\
**Last updated:** [January 2, 2023, 1:57pm UTC](https://discourse.julialang.org/t/solid-of-revolution-from-python-to-julia/92354 "2023-01-02T13:57:56Z")

</div>

Hi all, I have this Python code that can plot solid of revolution of function with input of the region then become the 3-dimensional object. # R is a region in the xy plane bounded by y = 4 - 2x # Plot A solid of revo…

---

## [How to resolve this method invalidation for \`all\` introduced by loading FillArrays?](https://discourse.julialang.org/t/how-to-resolve-this-method-invalidation-for-all-introduced-by-loading-fillarrays/92417)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 0\
**Last updated:** [January 2, 2023, 1:39pm UTC](https://discourse.julialang.org/t/how-to-resolve-this-method-invalidation-for-all-introduced-by-loading-fillarrays/92417 "2023-01-02T13:39:11Z")

</div>

julia\> using SnoopCompileCore julia\> invalidations = @snoopr using FillArrays; julia\> using SnoopCompile julia\> trees = invalidation\_trees(invalidations); julia\> trees\[end\] inserting all(f::Function, x::FillArrays.Ab…

---

## [Move\_along\_route! - Not implemented for space type ContinuousSpace](https://discourse.julialang.org/t/move-along-route-not-implemented-for-space-type-continuousspace/92389)

<div class="topic-metadata">

**Author:** [@orectique](https://discourse.julialang.org/u/orectique)\
**Replies:** 0\
**Last updated:** [January 1, 2023, 4:12pm UTC](https://discourse.julialang.org/t/move-along-route-not-implemented-for-space-type-continuousspace/92389 "2023-01-01T16:12:47Z")

</div>

Hello there, First of all, I would like to appreciate the team behind this elegant package. This is my first foray into Agent Based Modelling and Agents.jl has been a great tool. I am trying to create a simple continuo…

---

## [MPI.jl memory issue in a for-loop](https://discourse.julialang.org/t/mpi-jl-memory-issue-in-a-for-loop/91721)

<div class="topic-metadata">

**Author:** [@Carol](https://discourse.julialang.org/u/Carol)\
**Replies:** 3\
**Last updated:** [January 2, 2023, 11:01am UTC](https://discourse.julialang.org/t/mpi-jl-memory-issue-in-a-for-loop/91721 "2023-01-02T11:01:37Z")

</div>

Hi, At first I want to say thank you for maintaining MPI.jl package. I am using MPI inside a for-loop (for iteration=1:5000). At each iteration, all ranks will send its data to rank0 using MPI.Gatherv!, then rank0 will…

---

## [Language server crash when using filter option In range for table view](https://discourse.julialang.org/t/language-server-crash-when-using-filter-option-in-range-for-table-view/92408)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 3\
**Last updated:** [January 2, 2023, 10:14am UTC](https://discourse.julialang.org/t/language-server-crash-when-using-filter-option-in-range-for-table-view/92408 "2023-01-02T10:14:34Z")

</div>

using DataFrames rows = 1000000 stock\_day = DataFrame(stock = repeat(\[:A,:b\], Int(rows/2)), day = sort(repeat(collect(1:Int(rows/2)),2)), price = rand(rows) )

---

## [GLMakie plot-help 2: Issue with arrows and sliders](https://discourse.julialang.org/t/glmakie-plot-help-2-issue-with-arrows-and-sliders/92168)

<div class="topic-metadata">

**Author:** [@manya](https://discourse.julialang.org/u/manya)\
**Replies:** 9\
**Last updated:** [January 2, 2023, 10:00am UTC](https://discourse.julialang.org/t/glmakie-plot-help-2-issue-with-arrows-and-sliders/92168 "2023-01-02T10:00:31Z")

</div>

Hi, This is second post related to https://discourse.julialang.org/t/glmakie-beginners-help-multiple-sliders-and-an-arrow/92113. Currently: I am facing the following issues: Arrow heads pointing in the other directio…

---

## [Optimization.solve, accessing the number of iterations](https://discourse.julialang.org/t/optimization-solve-accessing-the-number-of-iterations/92402)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 2\
**Last updated:** [January 2, 2023, 7:56am UTC](https://discourse.julialang.org/t/optimization-solve-accessing-the-number-of-iterations/92402 "2023-01-02T07:56:32Z")

</div>

When using Optimization.jl to perform function minimization or weight evaluation in neural networks using Lux, how can I access the iteration number and other optimization characteristics that vary in time from the callb…

---

## [Parameter argument in ODE definition](https://discourse.julialang.org/t/parameter-argument-in-ode-definition/92390)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 1\
**Last updated:** [January 2, 2023, 5:25am UTC](https://discourse.julialang.org/t/parameter-argument-in-ode-definition/92390 "2023-01-02T05:25:19Z")

</div>

@ChrisRackauckas, In the demo listed at https://docs.sciml.ai/Overview/dev/showcase/missing\_physics/, there is the following call that defines a Universal differential equation, where U is a neural network model: # D…

---

## [Idea for better methods / dispatch visualization](https://discourse.julialang.org/t/idea-for-better-methods-dispatch-visualization/92282)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 3\
**Last updated:** [January 2, 2023, 3:48am UTC](https://discourse.julialang.org/t/idea-for-better-methods-dispatch-visualization/92282 "2023-01-02T03:48:49Z")

</div>

I was wondering if anybody has thought about this before. Sometimes it can be hard to keep track of what methods are available for a given function and how they’re hierarchically organized. For example, the + function ha…

---

## [IOBuffer becomes not writable after \`run\`](https://discourse.julialang.org/t/iobuffer-becomes-not-writable-after-run/92323)

<div class="topic-metadata">

**Author:** [@felipenoris](https://discourse.julialang.org/u/felipenoris)\
**Replies:** 2\
**Last updated:** [January 2, 2023, 3:06am UTC](https://discourse.julialang.org/t/iobuffer-becomes-not-writable-after-run/92323 "2023-01-02T03:06:07Z")

</div>

Hi! When upgrading from Julia v1.7 to Julia v1.8, I noticed this change of behavior when using run passing an IOBuffer as stdout kwarg. On Julia v1.7, I could pass the same instance of the IOBuffer to consecutive run ca…

---

## [Syntax: How to write a cleaner code for many composed computations](https://discourse.julialang.org/t/syntax-how-to-write-a-cleaner-code-for-many-composed-computations/92211)

<div class="topic-metadata">

**Author:** [@manya](https://discourse.julialang.org/u/manya)\
**Replies:** 17\
**Last updated:** [January 2, 2023, 12:11am UTC](https://discourse.julialang.org/t/syntax-how-to-write-a-cleaner-code-for-many-composed-computations/92211 "2023-01-02T00:11:03Z")

</div>

Hi, I have certain computations here. I use many parentheses just to make sure computations are all right. How can I write these Julia computations more cleaner? p(x,y,α) = (-(2\*α\*y-1)^2)/(12\*α^2) q(x,y,α) = ((2\*α\*y-…

---

## [CUSPARSE matrix-matrix multiplication not using GPU](https://discourse.julialang.org/t/cusparse-matrix-matrix-multiplication-not-using-gpu/92082)

<div class="topic-metadata">

**Author:** [@tsc25](https://discourse.julialang.org/u/tsc25)\
**Replies:** 2\
**Last updated:** [January 2, 2023, 12:25am UTC](https://discourse.julialang.org/t/cusparse-matrix-matrix-multiplication-not-using-gpu/92082 "2023-01-02T00:25:30Z")

</div>

I’m trying to perform sparse matrix-matrix multiplication on the GPU, which looks like it should be supported by CUSPARSE via cusparseSpmm. But it doesn’t seem to be working using Julia’s CUDA.CUSPARSE: using CUDA, CUDA…

---

## [\[ANN\] SQLdf - SQL for Julia DataFrames](https://discourse.julialang.org/t/ann-sqldf-sql-for-julia-dataframes/64270)

<div class="topic-metadata">

**Author:** [@viraltux](https://discourse.julialang.org/u/viraltux)\
**Replies:** 26\
**Last updated:** [January 2, 2023, 12:06am UTC](https://discourse.julialang.org/t/ann-sqldf-sql-for-julia-dataframes/64270 "2023-01-02T00:06:12Z")

</div>

Hi guys, If you like me happen to be accustomed to use SQL to explore and prepare tabular data then SQLdf might be of your interest. Since we don’t have as yet a native Julia package to SQL Julia DataFrames I would typ…

---

## [New line in Documenter](https://discourse.julialang.org/t/new-line-in-documenter/92393)

<div class="topic-metadata">

**Author:** [@dgagnon](https://discourse.julialang.org/u/dgagnon)\
**Replies:** 4\
**Last updated:** [January 1, 2023, 8:51pm UTC](https://discourse.julialang.org/t/new-line-in-documenter/92393 "2023-01-01T20:51:58Z")

</div>

Hello How can I add one or more blanks lines in a Markdown document? I’ve been browsing the web for 10 minutes and I found solution based on HTML ( ) or Markdown (&bnsp) or even (~). None of them work for me. I am U…

---

## [What to do when Pluto fails to compile packages?](https://discourse.julialang.org/t/what-to-do-when-pluto-fails-to-compile-packages/92347)

<div class="topic-metadata">

**Author:** [@Hugo](https://discourse.julialang.org/u/Hugo)\
**Replies:** 2\
**Last updated:** [January 1, 2023, 8:41pm UTC](https://discourse.julialang.org/t/what-to-do-when-pluto-fails-to-compile-packages/92347 "2023-01-01T20:41:54Z")

</div>

I am trying to run the cells in a Pluto file. Pluto automatically runs all the cells in the file, but it fails in the first cell when the packages are being loaded. Here’s what the error message looks like All I und…

---

## [Joining GroupedDataFrames](https://discourse.julialang.org/t/joining-groupeddataframes/92353)

<div class="topic-metadata">

**Author:** [@s-baumann](https://discourse.julialang.org/u/s-baumann)\
**Replies:** 7\
**Last updated:** [January 1, 2023, 4:24pm UTC](https://discourse.julialang.org/t/joining-groupeddataframes/92353 "2023-01-01T16:24:53Z")

</div>

I want to make a struct containing small dataframes that can efficiently merge into larger dataframes. Is there any out of the box solutions to cache the matching effort required for the joins. I tried to do this using …

---

## [Shorthand for a function that returns kwargs](https://discourse.julialang.org/t/shorthand-for-a-function-that-returns-kwargs/92387)

<div class="topic-metadata">

**Author:** [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Replies:** 3\
**Last updated:** [January 1, 2023, 3:56pm UTC](https://discourse.julialang.org/t/shorthand-for-a-function-that-returns-kwargs/92387 "2023-01-01T15:56:25Z")

</div>

Is it possible to create a function with kwargs that returns a kwargs NamedTuple like this get\_abc(;a,b,c) = (a=a,b=b,c=c) without =(a=a,b=b,c=c)? Or need macroses ?

---

## [About triu error in time code](https://discourse.julialang.org/t/about-triu-error-in-time-code/92383)

<div class="topic-metadata">

**Author:** [@naznaila](https://discourse.julialang.org/u/naznaila)\
**Replies:** 0\
**Last updated:** [January 1, 2023, 2:24pm UTC](https://discourse.julialang.org/t/about-triu-error-in-time-code/92383 "2023-01-01T14:24:01Z")

</div>

UndefVarError: triu not defined Stacktrace: \[1\] GMRES\_NoRestart(n::Int64) @ Main .\\In\[2\]:5 \[2\] macro expansion @ .\\In\[3\]:2 \[inlined\] \[3\] top-level scope @ .\\timing.jl:262 \[inlined\] \[4\] top-level scope @ .\\In\[3\]:…

---

## [Beginner question: precompiling local modules](https://discourse.julialang.org/t/beginner-question-precompiling-local-modules/92375)

<div class="topic-metadata">

**Author:** [@Yonatan\_Beer](https://discourse.julialang.org/u/Yonatan_Beer)\
**Replies:** 2\
**Last updated:** [January 1, 2023, 2:09pm UTC](https://discourse.julialang.org/t/beginner-question-precompiling-local-modules/92375 "2023-01-01T14:09:36Z")

</div>

I am still pretty new to Julia, so I do not know if this question is cogent. My workflow generally looks like making a bunch of smaller functions packaged into bundles. In Julia, the way to do this at first seems to be t…

---

## [Julia .NET Interop Library](https://discourse.julialang.org/t/julia-net-interop-library/90731)

<div class="topic-metadata">

**Author:** [@HyperSphereStudio](https://discourse.julialang.org/u/HyperSphereStudio)\
**Replies:** 1\
**Last updated:** [January 1, 2023, 9:10am UTC](https://discourse.julialang.org/t/julia-net-interop-library/90731 "2023-01-01T09:10:12Z")

</div>

I had created a long time ago a Julia .NET Interop Library. The goal of this library is to intuitively integrate .NET into Julia and be able to launch and utilize both languages from the other. Recently, I have begun a …

---

## [Happy new year 2023!](https://discourse.julialang.org/t/happy-new-year-2023/92371)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [January 1, 2023, 3:05am UTC](https://discourse.julialang.org/t/happy-new-year-2023/92371 "2023-01-01T03:05:35Z")

</div>

2022 I wrote many packages, gave a talk about Julia on a conference, introduced Julia at ABB in NL, and hopefully 2023 becomes even better! :slight\_smile: This is such a nice community!

---

## [Trying my chances here; anyone knows why particles stick to the wall in my SPH simulation?](https://discourse.julialang.org/t/trying-my-chances-here-anyone-knows-why-particles-stick-to-the-wall-in-my-sph-simulation/91624)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 9\
**Last updated:** [December 31, 2022, 9:22pm UTC](https://discourse.julialang.org/t/trying-my-chances-here-anyone-knows-why-particles-stick-to-the-wall-in-my-sph-simulation/91624 "2022-12-31T21:22:55Z")

</div>

Hello! For fun I’ve been writing a small dam break simulation in SPH. I start with a clump of rectangular water, which correctly moves down due to gravity. I have one issue though which is that the wall which fluid cann…

---

## [One-sided clamp?](https://discourse.julialang.org/t/one-sided-clamp/92366)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 3\
**Last updated:** [December 31, 2022, 9:09pm UTC](https://discourse.julialang.org/t/one-sided-clamp/92366 "2022-12-31T21:09:21Z")

</div>

Hello! Suppose I have an array of different values, Result. Usually one would write; clamp!(Result,LowerLimit,HigherLimit). Is there a way to make it “one-sided” such that I only specify a lower limit? Kind regards

---

## [Optimizer not found error](https://discourse.julialang.org/t/optimizer-not-found-error/92364)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 8\
**Last updated:** [December 31, 2022, 7:08pm UTC](https://discourse.julialang.org/t/optimizer-not-found-error/92364 "2022-12-31T19:08:09Z")

</div>

@ChrisRackauckas, I am running a UODE solver using Optimization.jl per recommendation. Here are a few lines from a larger code (I might construct a MWE later). adtype = Optimization.AutoZygote() # adtype = Optimizatio…

---

## [Precompilation of DifferentialEquations.jl](https://discourse.julialang.org/t/precompilation-of-differentialequations-jl/92363)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 10\
**Last updated:** [December 31, 2022, 6:57pm UTC](https://discourse.julialang.org/t/precompilation-of-differentialequations-jl/92363 "2022-12-31T18:57:34Z")

</div>

I am loading (with using) several packages. DifferentialEquations.jl takes a long time to precompile (1-2 minutes). I exit Julia and reload the packages. Again, DifferentialEquations.jl takes the same time to precompile.…

---

## [RequestError: HTTP/2 502 while requesting https://pkg.julialang.org/registries](https://discourse.julialang.org/t/requesterror-http-2-502-while-requesting-https-pkg-julialang-org-registries/92342)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 5\
**Last updated:** [December 31, 2022, 5:38pm UTC](https://discourse.julialang.org/t/requesterror-http-2-502-while-requesting-https-pkg-julialang-org-registries/92342 "2022-12-31T17:38:42Z")

</div>

The general registry suddenly seems to be down. (This is Nightly Julia, but the same thing happens with 1.8.) (@v1.10) pkg\> up ┌ Warning: could not download https://pkg.julialang.org/registries │ exception = RequestEr…

---

## [Behaviour of |\> transpose applied to BitVector](https://discourse.julialang.org/t/behaviour-of-transpose-applied-to-bitvector/92362)

<div class="topic-metadata">

**Author:** [@Max\_Beez](https://discourse.julialang.org/u/Max_Beez)\
**Replies:** 2\
**Last updated:** [December 31, 2022, 5:01pm UTC](https://discourse.julialang.org/t/behaviour-of-transpose-applied-to-bitvector/92362 "2022-12-31T17:01:25Z")

</div>

Inputing 1:3 .== 1:3 will return a BitVector of the form 1 1 1 as a column vector If we set A = 1:3 .== 1:3 and take transpose(A) we get the typical transpose i.e. given as a row vector. However, if we input 1:3 .== 1…

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

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