# Latest

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

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

**Page:** 290

---

## [@ccall and pointer to structure](https://discourse.julialang.org/t/ccall-and-pointer-to-structure/121884)

<div class="topic-metadata">

**Author:** [@yjr](https://discourse.julialang.org/u/yjr)\
**Replies:** 5\
**Last updated:** [October 29, 2024, 7:58am UTC](https://discourse.julialang.org/t/ccall-and-pointer-to-structure/121884 "2024-10-29T07:58:38Z")

</div>

Hello, I’ve a c function that updates (pass by parameter) a pointer to a structure. so in @ccall I should use Ptr{my\_struct} types . But I cannot create the structure pointer as method pointer(whatever::MyStruct) does n…

---

## [Makie Uneven Legend Banks](https://discourse.julialang.org/t/makie-uneven-legend-banks/121757)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 6\
**Last updated:** [October 29, 2024, 6:22am UTC](https://discourse.julialang.org/t/makie-uneven-legend-banks/121757 "2024-10-29T06:22:59Z")

</div>

Hello, Is it possible to have uneven number of elements in the banks of a Legend in Makie? Below is an MWE - the actual figure I need this for is crowded and I basically need two legend entries in bank 2 moved into bank…

---

## [Julia v1.10.6 has been released](https://discourse.julialang.org/t/julia-v1-10-6-has-been-released/121892)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [October 28, 2024, 11:53pm UTC](https://discourse.julialang.org/t/julia-v1-10-6-has-been-released/121892 "2024-10-28T23:53:49Z")

</div>

Julia version 1.10.6, the sixth patch release in the 1.10 long-term support (LTS) series of releases, is now available. Binaries are available via JuliaUp and at https://julialang.org/downloads/ for macOS (Intel and M-se…

---

## [Blog post about Julia's package registration tooling](https://discourse.julialang.org/t/blog-post-about-julias-package-registration-tooling/121844)

<div class="topic-metadata">

**Author:** [@ericphanson](https://discourse.julialang.org/u/ericphanson)\
**Replies:** 2\
**Last updated:** [October 28, 2024, 10:38pm UTC](https://discourse.julialang.org/t/blog-post-about-julias-package-registration-tooling/121844 "2024-10-28T22:38:32Z")

</div>

I wrote a blog post trying to summarize the current set of tools using in Julia’s package registration system, such as automation in the General registry, RegistryCI.jl, LocalRegistry.jl, TagBot, and how it flows into Do…

---

## [JumpProcesses.jl solvers](https://discourse.julialang.org/t/jumpprocesses-jl-solvers/121883)

<div class="topic-metadata">

**Author:** [@hhindley](https://discourse.julialang.org/u/hhindley)\
**Replies:** 4\
**Last updated:** [October 28, 2024, 7:05pm UTC](https://discourse.julialang.org/t/jumpprocesses-jl-solvers/121883 "2024-10-28T19:05:29Z")

</div>

I’m modelling a biochemical system using JumpProcesses.jl. I am coupling a continuous ODE to a jumpset which includes MassActionJumps, ConstantRateJumps and unbounded VariableRateJumps. When I increase my tspan, or in c…

---

## [\[ANN\] SQLCollections.jl – use Julia data manipulation functions for databases](https://discourse.julialang.org/t/ann-sqlcollections-jl-use-julia-data-manipulation-functions-for-databases/119244)

<div class="topic-metadata">

**Author:** [@aplavin](https://discourse.julialang.org/u/aplavin)\
**Replies:** 31\
**Last updated:** [October 28, 2024, 6:01pm UTC](https://discourse.julialang.org/t/ann-sqlcollections-jl-use-julia-data-manipulation-functions-for-databases/119244 "2024-10-28T18:01:39Z")

</div>

Imagine if you could use the exact same code to manipulate regular Julia collections and SQL tables… SQLCollections.jl is the package to achieve that! There is no shortage of Julia packages that provide convenient int…

---

## [What was Zygote's main weakness?](https://discourse.julialang.org/t/what-was-zygotes-main-weakness/121827)

<div class="topic-metadata">

**Author:** [@Bizzi](https://discourse.julialang.org/u/Bizzi)\
**Replies:** 2\
**Last updated:** [October 28, 2024, 5:32pm UTC](https://discourse.julialang.org/t/what-was-zygotes-main-weakness/121827 "2024-10-28T17:32:20Z")

</div>

Zygote is a remarkable tool. The fact that it’s able to perform source-to-source automatic differentiation on almost all of Julia (!) already makes it, I think, one of the most powerful AD backends around. It’s performan…

---

## [Problems using OpenCV](https://discourse.julialang.org/t/problems-using-opencv/115446)

<div class="topic-metadata">

**Author:** [@oOosys](https://discourse.julialang.org/u/oOosys)\
**Replies:** 2\
**Last updated:** [October 28, 2024, 5:19pm UTC](https://discourse.julialang.org/t/problems-using-opencv/115446 "2024-10-28T17:19:30Z")

</div>

julia\> import OpenCV Precompiling OpenCV Info Given OpenCV was explicitly requested, output will be shown live ERROR: LoadError: InitError: could not load library "/home/o/.julia/artifacts/beeb384c8ba60497d81e26…

---

## [How to slice a NamedTuple?](https://discourse.julialang.org/t/how-to-slice-a-namedtuple/121767)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 6\
**Last updated:** [October 28, 2024, 5:14pm UTC](https://discourse.julialang.org/t/how-to-slice-a-namedtuple/121767 "2024-10-28T17:14:38Z")

</div>

How to? julia\> (;a=10, b=20, c=30)\[2:end\] ERROR: MethodError: no method matching getindex(::@NamedTuple{a::Int64, b::Int64, c::Int64}, ::UnitRange{Int64}) # Desired: (;b=20, c=30)

---

## [Terminal not fully functional](https://discourse.julialang.org/t/terminal-not-fully-functional/121737)

<div class="topic-metadata">

**Author:** [@sammyD5](https://discourse.julialang.org/u/sammyD5)\
**Replies:** 29\
**Last updated:** [October 28, 2024, 4:27pm UTC](https://discourse.julialang.org/t/terminal-not-fully-functional/121737 "2024-10-28T16:27:13Z")

</div>

Hello all, I am new to Julia and just after the installation I’ve run into some issues. When I am opening the terminal I am greeted by a warning message - “Warning: Terminal not fully functional - @Base client.jl.436” …

---

## [How to filter dataframe rows with a boolean mask?](https://discourse.julialang.org/t/how-to-filter-dataframe-rows-with-a-boolean-mask/121873)

<div class="topic-metadata">

**Author:** [@Ju\_ska](https://discourse.julialang.org/u/Ju_ska)\
**Replies:** 2\
**Last updated:** [October 28, 2024, 3:28pm UTC](https://discourse.julialang.org/t/how-to-filter-dataframe-rows-with-a-boolean-mask/121873 "2024-10-28T15:28:45Z")

</div>

Hi, I would like to the same thing as this python code: import pandas as pd array = \[1,2,3\] df = pd.DataFrame(array) mask = \[True, False, True\] new\_df = df\[mask\] \>\>\> print(new\_df) 0 0 1 2 3 Looked around, but …

---

## [\`ifelse(x\<y, x, y)\` much faster than \`min()\`](https://discourse.julialang.org/t/ifelse-x-y-x-y-much-faster-than-min/121826)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 16\
**Last updated:** [October 28, 2024, 3:01pm UTC](https://discourse.julialang.org/t/ifelse-x-y-x-y-much-faster-than-min/121826 "2024-10-28T15:01:18Z")

</div>

julia\> using Chairmarks julia\> function g(dij) vmin = Inf for x in dij vmin = min(x, vmin) end return vmin end julia\> function f(dij) vmin = Inf for x in dij vmin = ifelse(x \< vm…

---

## [How Julia and Python compare in 2024?](https://discourse.julialang.org/t/how-julia-and-python-compare-in-2024/121851)

<div class="topic-metadata">

**Author:** [@KZiemian](https://discourse.julialang.org/u/KZiemian)\
**Replies:** 5\
**Last updated:** [October 28, 2024, 12:11pm UTC](https://discourse.julialang.org/t/how-julia-and-python-compare-in-2024/121851 "2024-10-28T12:11:59Z")

</div>

I heard that Python get JIT in version 3.13, which add some 5%-9% of speed in the benchmarks. Can someone guide me how Julia and Python are look next to each other in the term of speed and role in scientific computing to…

---

## [BifurcationKit.jl: Continuation of non-autonomous ODE limit cycle](https://discourse.julialang.org/t/bifurcationkit-jl-continuation-of-non-autonomous-ode-limit-cycle/121871)

<div class="topic-metadata">

**Author:** [@mjowen](https://discourse.julialang.org/u/mjowen)\
**Replies:** 0\
**Last updated:** [October 28, 2024, 2:40pm UTC](https://discourse.julialang.org/t/bifurcationkit-jl-continuation-of-non-autonomous-ode-limit-cycle/121871 "2024-10-28T14:40:33Z")

</div>

Hi, I have a non-autonomous periodic ODE system and I want to use BifurcationKit to run continuation on the limit cycle. The system features a periodic discontinuous forcing function I\_St. I have followed the steps here …

---

## [Can't convert from Irish to British grid using CoordRefSystems](https://discourse.julialang.org/t/cant-convert-from-irish-to-british-grid-using-coordrefsystems/121857)

<div class="topic-metadata">

**Author:** [@TimG](https://discourse.julialang.org/u/TimG)\
**Replies:** 1\
**Last updated:** [October 28, 2024, 11:06am UTC](https://discourse.julialang.org/t/cant-convert-from-irish-to-british-grid-using-coordrefsystems/121857 "2024-10-28T11:06:28Z")

</div>

I’m trying to convert coordinates from Irish to British national grid. I can do this in Proj, but am encountering some compatibility issues. I thought the easiest solution might be to remove any direct dependence on Proj…

---

## [Enforce positivity in simple PDE solution](https://discourse.julialang.org/t/enforce-positivity-in-simple-pde-solution/121738)

<div class="topic-metadata">

**Author:** [@ify](https://discourse.julialang.org/u/ify)\
**Replies:** 5\
**Last updated:** [October 28, 2024, 10:35am UTC](https://discourse.julialang.org/t/enforce-positivity-in-simple-pde-solution/121738 "2024-10-28T10:35:57Z")

</div>

Hi all, Pretty new to julia. I am trying to solve a simplified PDE that I normally would do in R. In R, the numerical steady state solution can be constrained to obtain solution concentration. However, when I translate …

---

## [Using StaticArrays with EnsembleAnalysis runs with SDEProblem but not ODEProblem](https://discourse.julialang.org/t/using-staticarrays-with-ensembleanalysis-runs-with-sdeproblem-but-not-odeproblem/121837)

<div class="topic-metadata">

**Author:** [@gjgress](https://discourse.julialang.org/u/gjgress)\
**Replies:** 2\
**Last updated:** [October 28, 2024, 10:11am UTC](https://discourse.julialang.org/t/using-staticarrays-with-ensembleanalysis-runs-with-sdeproblem-but-not-odeproblem/121837 "2024-10-28T10:11:26Z")

</div>

Context: In my personal project I am working with running ensemble problems of SDEs. To improve performance, I used SVectors wherever possible. Depending on my needs, I used componentwise\_vectors\_timepoint to interpolat…

---

## [Help with Multi-GPU FDTD implementation: halo exchange and efficient monitors](https://discourse.julialang.org/t/help-with-multi-gpu-fdtd-implementation-halo-exchange-and-efficient-monitors/121676)

<div class="topic-metadata">

**Author:** [@lucasgrjn](https://discourse.julialang.org/u/lucasgrjn)\
**Replies:** 1\
**Last updated:** [October 28, 2024, 9:05am UTC](https://discourse.julialang.org/t/help-with-multi-gpu-fdtd-implementation-halo-exchange-and-efficient-monitors/121676 "2024-10-28T09:05:50Z")

</div>

Hi everyone! I am a physicist and photonics engineer. Recently, Meta released a Julia package called Khronos to perform FDTD (Finite-Difference Time-Domain) simulations. The basic idea is to iteratively propagate light …

---

## [Linear parameter varying control (LPV control)](https://discourse.julialang.org/t/linear-parameter-varying-control-lpv-control/121840)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 8\
**Last updated:** [October 28, 2024, 9:14am UTC](https://discourse.julialang.org/t/linear-parameter-varying-control-lpv-control/121840 "2024-10-28T09:14:30Z")

</div>

I am trying to implement an LPV controller based on GitHub - JuliaControl/DiscretePIDs.jl: Discrete-time PID controllers in Julia The idea is easy: Use a controller for heading/ course with an inner and an outer loop. T…

---

## [Plots.jl - Plot groups of data on different subplots](https://discourse.julialang.org/t/plots-jl-plot-groups-of-data-on-different-subplots/74477)

<div class="topic-metadata">

**Author:** [@cripcate](https://discourse.julialang.org/u/cripcate)\
**Replies:** 8\
**Last updated:** [October 28, 2024, 8:47am UTC](https://discourse.julialang.org/t/plots-jl-plot-groups-of-data-on-different-subplots/74477 "2024-10-28T08:47:14Z")

</div>

Consider this sample data: using DataFrames, Plots, Random sample\_data = DataFrame(\[rand(10), sample(\['A', 'B', 'C'\], 10)\], \["value", "group"\]) 10×2 DataFrame Row │ value group │ Float64 Char ─────┼────…

---

## [Function name with Type constraining](https://discourse.julialang.org/t/function-name-with-type-constraining/121635)

<div class="topic-metadata">

**Author:** [@HANHAOHAN](https://discourse.julialang.org/u/HANHAOHAN)\
**Replies:** 5\
**Last updated:** [October 28, 2024, 7:40am UTC](https://discourse.julialang.org/t/function-name-with-type-constraining/121635 "2024-10-28T07:40:41Z")

</div>

I met code as follow, anyone can give an syntactic explanation? mutable struct WriteClosure{T, KW} buf::T end function (f::WriteClosure)(i, nm, TT, v; kw...) end

---

## [Quantitative Finance in Julia](https://discourse.julialang.org/t/quantitative-finance-in-julia/119734)

<div class="topic-metadata">

**Author:** [@Pascal\_Buhler](https://discourse.julialang.org/u/Pascal_Buhler)\
**Replies:** 20\
**Last updated:** [October 28, 2024, 7:20am UTC](https://discourse.julialang.org/t/quantitative-finance-in-julia/119734 "2024-10-28T07:20:18Z")

</div>

Could we add in Market Data, also API from SWX / SIX or Marketscreener / Google etc? just in case something went wrong?

---

## [DimensionalData question](https://discourse.julialang.org/t/dimensionaldata-question/121846)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 6\
**Last updated:** [October 28, 2024, 7:08am UTC](https://discourse.julialang.org/t/dimensionaldata-question/121846 "2024-10-28T07:08:27Z")

</div>

How do I specify a DimArray over a subset of a dimension? I thought this would work but it gives an error. Ddim = Dim{:Ddim}(\['a','b','c'\]) DimArray( 1:2, Ddim(\['a','b'\]) )

---

## [Parsing of multiple \`..\`](https://discourse.julialang.org/t/parsing-of-multiple/121843)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 6\
**Last updated:** [October 27, 2024, 11:43pm UTC](https://discourse.julialang.org/t/parsing-of-multiple/121843 "2024-10-27T23:43:21Z")

</div>

Why does this parse, julia\> :(a .. b) :(a .. b) but this does not, julia\> :(a .. b .. c) ERROR: ParseError: # Error @ REPL\[31\]:1:10 :(a .. b .. c) # └──┘ ── Expected \`)\` ?

---

## [Improvements to the package registration workflow in the General registry](https://discourse.julialang.org/t/improvements-to-the-package-registration-workflow-in-the-general-registry/109595)

<div class="topic-metadata">

**Author:** [@ericphanson](https://discourse.julialang.org/u/ericphanson)\
**Replies:** 5\
**Last updated:** [October 27, 2024, 11:36pm UTC](https://discourse.julialang.org/t/improvements-to-the-package-registration-workflow-in-the-general-registry/109595 "2024-10-27T23:36:54Z")

</div>

Hello package maintainers (and everyone else too :slightly\_smiling\_face:)! We have some new RegistryCI features that we hope will help make registering packages smoother. Background: what is RegistryCI? And what is “the…

---

## [Julia in VSCode not working properly on WSL](https://discourse.julialang.org/t/julia-in-vscode-not-working-properly-on-wsl/121607)

<div class="topic-metadata">

**Author:** [@martin\_sanchez](https://discourse.julialang.org/u/martin_sanchez)\
**Replies:** 7\
**Last updated:** [October 27, 2024, 8:43pm UTC](https://discourse.julialang.org/t/julia-in-vscode-not-working-properly-on-wsl/121607 "2024-10-27T20:43:37Z")

</div>

I have been using Julia with wsl and vscode. I didn’t have much problems, though it was a little bit slow when running. After I had several issues with errors with the LS and others, I finally made it work, but it still …

---

## [Vscode is not following the executable path](https://discourse.julialang.org/t/vscode-is-not-following-the-executable-path/121825)

<div class="topic-metadata">

**Author:** [@martin\_sanchez](https://discourse.julialang.org/u/martin_sanchez)\
**Replies:** 7\
**Last updated:** [October 27, 2024, 6:59pm UTC](https://discourse.julialang.org/t/vscode-is-not-following-the-executable-path/121825 "2024-10-27T18:59:25Z")

</div>

I am having some trouble with Julia and VScode, so I decided to use (with juliaup) the lts version. I updated the path in VScode as I show in the image: But even though, when I run a file or a line in VScode, it is s…

---

## [Most Efficient Way to Compute a Quadratic Matrix Form](https://discourse.julialang.org/t/most-efficient-way-to-compute-a-quadratic-matrix-form/66606)

<div class="topic-metadata">

**Author:** [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Replies:** 15\
**Last updated:** [October 27, 2024, 6:24pm UTC](https://discourse.julialang.org/t/most-efficient-way-to-compute-a-quadratic-matrix-form/66606 "2024-10-27T18:24:33Z")

</div>

Given a Symmetric Positive Semi definite Matrix P , what would be the most efficient (Fast) way to calculate the matrix quadratic form: {x}^{T} P x For the following cases: The matrix P is dense. The matrix P i…

---

## [\[ANN\] L1TrendFiltering.jl: Imprementation of l1 Trend Filtering](https://discourse.julialang.org/t/ann-l1trendfiltering-jl-imprementation-of-l1-trend-filtering/121811)

<div class="topic-metadata">

**Author:** [@rmsmsgood](https://discourse.julialang.org/u/rmsmsgood)\
**Replies:** 3\
**Last updated:** [October 27, 2024, 6:13pm UTC](https://discourse.julialang.org/t/ann-l1trendfiltering-jl-imprementation-of-l1-trend-filtering/121811 "2024-10-27T18:13:10Z")

</div>

L1TrendFiltering.jl In this week, I noticed there is no l1 trend filtering package in julia. I’m happy to share this package. You can test julia l1tf function as following: using L1TrendFiltering using Plots, CSV, DataF…

---

## [How to make a quaternary plot](https://discourse.julialang.org/t/how-to-make-a-quaternary-plot/121822)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 6\
**Last updated:** [October 27, 2024, 4:02pm UTC](https://discourse.julialang.org/t/how-to-make-a-quaternary-plot/121822 "2024-10-27T16:02:09Z")

</div>

Hi all, I have data that represents a 2X2 joint probability distribution. I would like to visualize it with a quaternary plot, similar to the second to last example here. I don’t have clusters, but I would like to color…

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

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