# Latest

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

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

**Page:** 254

---

## [A fast sum. Any downsides?](https://discourse.julialang.org/t/a-fast-sum-any-downsides/123723)

<div class="topic-metadata">

**Author:** [@nicolas](https://discourse.julialang.org/u/nicolas)\
**Replies:** 18\
**Last updated:** [December 16, 2024, 3:04pm UTC](https://discourse.julialang.org/t/a-fast-sum-any-downsides/123723 "2024-12-16T15:04:12Z")

</div>

I wrote a simple function to perform sums using indices. function sumi(f, s, range) @simd for i in range s += f(i) end return s end I was curious to measure the performance hit of using sumi for arrays instead of s…

---

## [How to use a locally modified version of LanguageServer.jl?](https://discourse.julialang.org/t/how-to-use-a-locally-modified-version-of-languageserver-jl/123856)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 3\
**Last updated:** [December 16, 2024, 2:28pm UTC](https://discourse.julialang.org/t/how-to-use-a-locally-modified-version-of-languageserver-jl/123856 "2024-12-16T14:28:15Z")

</div>

I’d like to play with LanguageServer.jl. How to use a locally modified version of this package inside either VSCode Julia extension or Emacs eglot-jl?

---

## [Anyone has an implementation of generic boosting?](https://discourse.julialang.org/t/anyone-has-an-implementation-of-generic-boosting/54729)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 7\
**Last updated:** [December 16, 2024, 1:34pm UTC](https://discourse.julialang.org/t/anyone-has-an-implementation-of-generic-boosting/54729 "2024-12-16T13:34:30Z")

</div>

Dear All, I would like to ask, as the title suggest, if anyone has a general implementation of boosting algorithm? I did some search and found that it is usually tightly coupled with a base learners being decision trees…

---

## [When is 1.11.3 planned to be released?](https://discourse.julialang.org/t/when-is-1-11-3-planned-to-be-released/123881)

<div class="topic-metadata">

**Author:** [@Lior\_Assouline](https://discourse.julialang.org/u/Lior_Assouline)\
**Replies:** 1\
**Last updated:** [December 16, 2024, 12:35pm UTC](https://discourse.julialang.org/t/when-is-1-11-3-planned-to-be-released/123881 "2024-12-16T12:35:50Z")

</div>

I couldnt find an planned release with dates … Thanks!

---

## [BifurcationKit: Mesh adaptation error](https://discourse.julialang.org/t/bifurcationkit-mesh-adaptation-error/123876)

<div class="topic-metadata">

**Author:** [@mmplac14](https://discourse.julialang.org/u/mmplac14)\
**Replies:** 1\
**Last updated:** [December 16, 2024, 11:41am UTC](https://discourse.julialang.org/t/bifurcationkit-mesh-adaptation-error/123876 "2024-12-16T11:41:37Z")

</div>

Hi, I am running a Periodic Orbit continuation but it is failing with this error: ┌ Error: \[Mesh-adaptation\]. The mesh is non monotonic! Please report the error to the website of BifurcationKit.jl └ @ BifurcationKit ~…

---

## [Debugging segfaults/running out of memory, maybe a memory leak?](https://discourse.julialang.org/t/debugging-segfaults-running-out-of-memory-maybe-a-memory-leak/123701)

<div class="topic-metadata">

**Author:** [@kockahonza](https://discourse.julialang.org/u/kockahonza)\
**Replies:** 5\
**Last updated:** [December 16, 2024, 11:30am UTC](https://discourse.julialang.org/t/debugging-segfaults-running-out-of-memory-maybe-a-memory-leak/123701 "2024-12-16T11:30:49Z")

</div>

Hello everyone! So I am using julia for a bunch of things in my project including a pretty simple simulation code which saves data using HDF5.jl. In addition, my simulation can be started in a range of starting condition…

---

## [BifurcationKit: record\_from\_solution Periodic Orbits](https://discourse.julialang.org/t/bifurcationkit-record-from-solution-periodic-orbits/123814)

<div class="topic-metadata">

**Author:** [@mmplac14](https://discourse.julialang.org/u/mmplac14)\
**Replies:** 6\
**Last updated:** [December 16, 2024, 10:35am UTC](https://discourse.julialang.org/t/bifurcationkit-record-from-solution-periodic-orbits/123814 "2024-12-16T10:35:40Z")

</div>

Hi! I am using BifurcationKit to compute the periodic orbits of the Jansen-Rit model from the first Hopf Point. I seem to be having issues computing them for y1 - y2. I am using record\_from\_solution to compute them for …

---

## [How to Efficiently Work with Floats Across a Wide Range of Precision?](https://discourse.julialang.org/t/how-to-efficiently-work-with-floats-across-a-wide-range-of-precision/123833)

<div class="topic-metadata">

**Author:** [@Hugin-Hilbert](https://discourse.julialang.org/u/Hugin-Hilbert)\
**Replies:** 4\
**Last updated:** [December 16, 2024, 10:11am UTC](https://discourse.julialang.org/t/how-to-efficiently-work-with-floats-across-a-wide-range-of-precision/123833 "2024-12-16T10:11:20Z")

</div>

I’m currently developing a divide and conquer algorithm in Julia that requires multiple precision arithmetic at different levels of the computation: Leaf Nodes: Operations are performed with approximately 256-bit preci…

---

## [ModelingToolkit: (Transport) delay? Example: Inflow to one water reservoir is a delayed outflow from another](https://discourse.julialang.org/t/modelingtoolkit-transport-delay-example-inflow-to-one-water-reservoir-is-a-delayed-outflow-from-another/122654)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 6\
**Last updated:** [December 16, 2024, 9:33am UTC](https://discourse.julialang.org/t/modelingtoolkit-transport-delay-example-inflow-to-one-water-reservoir-is-a-delayed-outflow-from-another/122654 "2024-12-16T09:33:32Z")

</div>

Referring to @baggepinnen 's past response to the question about the possibility to model a delay using ModelingToolkit, I was just wondering if there has been any progress in this direction. Something along the line of d…

---

## [TidyTest.jl -- test execution with auto discovery and a neater test summary](https://discourse.julialang.org/t/tidytest-jl-test-execution-with-auto-discovery-and-a-neater-test-summary/97183)

<div class="topic-metadata">

**Author:** [@HanD](https://discourse.julialang.org/u/HanD)\
**Replies:** 12\
**Last updated:** [December 16, 2024, 9:00am UTC](https://discourse.julialang.org/t/tidytest-jl-test-execution-with-auto-discovery-and-a-neater-test-summary/97183 "2024-12-16T09:00:56Z")

</div>

I’m happy to announce the first release of TidyTest.jl, a package for test execution with auto discovery and a neater test summary. It is using ProgressMeter.jl to report progress as the tests are completed. Usage For t…

---

## [\[ANN\] TechnicalIndicatorCharts.jl](https://discourse.julialang.org/t/ann-technicalindicatorcharts-jl/123873)

<div class="topic-metadata">

**Author:** [@g-gundam](https://discourse.julialang.org/u/g-gundam)\
**Replies:** 0\
**Last updated:** [December 16, 2024, 7:55am UTC](https://discourse.julialang.org/t/ann-technicalindicatorcharts-jl/123873 "2024-12-16T07:55:11Z")

</div>

TechnicalIndicatorCharts The purpose of this library is to bring OnlineTechnicalIndicators.jl and LightweightCharts.jl together. Creating a Chart using OnlineTechnicalIndicators using TechnicalIndicatorCharts g…

---

## [Pattern matching in Matrix](https://discourse.julialang.org/t/pattern-matching-in-matrix/123831)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 3\
**Last updated:** [December 16, 2024, 8:34am UTC](https://discourse.julialang.org/t/pattern-matching-in-matrix/123831 "2024-12-16T08:34:11Z")

</div>

Find each instance of the smaller matrix in the larger and create a NamedTuple (;a,b) \[ :X a \_ b \_ :Y \] \[ 1 2 3 :X 1 2 3 4 :Y :X 1 2 4 5 :Y 10 11 12 :X …

---

## [Looking for Clarification on Genie.jl and WebSockets](https://discourse.julialang.org/t/looking-for-clarification-on-genie-jl-and-websockets/121596)

<div class="topic-metadata">

**Author:** [@g-gundam](https://discourse.julialang.org/u/g-gundam)\
**Replies:** 1\
**Last updated:** [December 16, 2024, 2:59am UTC](https://discourse.julialang.org/t/looking-for-clarification-on-genie-jl-and-websockets/121596 "2024-12-16T02:59:09Z")

</div>

I’ve read through the docs and tried the examples, and so far so good. Everything worked as advertised. However, when I tried to experiment further, I got really confused. How do I use /\_\_\_\_/subscribe and /\_\_\_\_/unsubs…

---

## [Performance regression on v1.12 (nightly): \`hypot(::Float64, ::Float64)\` causes allocations](https://discourse.julialang.org/t/performance-regression-on-v1-12-nightly-hypot-float64-float64-causes-allocations/123871)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 1\
**Last updated:** [December 16, 2024, 5:41am UTC](https://discourse.julialang.org/t/performance-regression-on-v1-12-nightly-hypot-float64-float64-causes-allocations/123871 "2024-12-16T05:41:56Z")

</div>

I don’t have a MWE yet (tried but failed as of yet), mostly writing this so I wouldn’t forget to make an actual bug report later. I have some code, and profiling it on Julia nightly show that this line allocates Float64 …

---

## [Julia vs. Python Performance on package catch22: Why is Julia slower in this case and how can I improve it?](https://discourse.julialang.org/t/julia-vs-python-performance-on-package-catch22-why-is-julia-slower-in-this-case-and-how-can-i-improve-it/117936)

<div class="topic-metadata">

**Author:** [@arturdaraujo](https://discourse.julialang.org/u/arturdaraujo)\
**Replies:** 11\
**Last updated:** [December 16, 2024, 4:29am UTC](https://discourse.julialang.org/t/julia-vs-python-performance-on-package-catch22-why-is-julia-slower-in-this-case-and-how-can-i-improve-it/117936 "2024-12-16T04:29:24Z")

</div>

Hello, I’m comparing the performance of Julia and Python for a specific task involving time series data and feature extraction. I’ve implemented a parallel computation in both languages and noticed that Python is signif…

---

## [Confusion about how to use Gridap.jl Dirichlet boundary specification](https://discourse.julialang.org/t/confusion-about-how-to-use-gridap-jl-dirichlet-boundary-specification/123861)

<div class="topic-metadata">

**Author:** [@TheHedgehog2000](https://discourse.julialang.org/u/TheHedgehog2000)\
**Replies:** 2\
**Last updated:** [December 16, 2024, 4:04am UTC](https://discourse.julialang.org/t/confusion-about-how-to-use-gridap-jl-dirichlet-boundary-specification/123861 "2024-12-16T04:04:32Z")

</div>

I am trying to numerically solve the diffusion equation using the Gridap.jl finite element method package. Specifically the problem is radially symmetric diffusion in 3D of a substance with initial concentration C(a \< r \<…

---

## [How to embed local images (png, pdf, svg) in Pluto notebook](https://discourse.julialang.org/t/how-to-embed-local-images-png-pdf-svg-in-pluto-notebook/123849)

<div class="topic-metadata">

**Author:** [@thudjx](https://discourse.julialang.org/u/thudjx)\
**Replies:** 8\
**Last updated:** [December 16, 2024, 3:25am UTC](https://discourse.julialang.org/t/how-to-embed-local-images-png-pdf-svg-in-pluto-notebook/123849 "2024-12-16T03:25:07Z")

</div>

The aim: I need to show images of different types in my local PC, such as svg, png, pdf in the pluto notebook. The problem: When inserting a png file, following the example from here, the markdown method !\[description…

---

## [What is the use of ScopedValues beyond web authorization?](https://discourse.julialang.org/t/what-is-the-use-of-scopedvalues-beyond-web-authorization/116162)

<div class="topic-metadata">

**Author:** [@sadish-d](https://discourse.julialang.org/u/sadish-d)\
**Replies:** 14\
**Last updated:** [December 16, 2024, 2:40am UTC](https://discourse.julialang.org/t/what-is-the-use-of-scopedvalues-beyond-web-authorization/116162 "2024-12-16T02:40:42Z")

</div>

ScopedValues are coming to Julia v1.11 (I think?). After reading a few examples, I think of them as resettable Refs. Apparently they behave like constants even though you can temporarily change their values. They are use…

---

## [GMT: add lines to a map](https://discourse.julialang.org/t/gmt-add-lines-to-a-map/123852)

<div class="topic-metadata">

**Author:** [@George9000](https://discourse.julialang.org/u/George9000)\
**Replies:** 2\
**Last updated:** [December 16, 2024, 12:36am UTC](https://discourse.julialang.org/t/gmt-add-lines-to-a-map/123852 "2024-12-16T00:36:02Z")

</div>

After plotting a map region with coast, I’d like to add a series of lines. I’m unable to correctly specify the arguments for the lines! call. I’ve also tried giving the x and y as separate \[long\] and \[lat\] vectors to lin…

---

## [Idiomatic way to overplot on subplots](https://discourse.julialang.org/t/idiomatic-way-to-overplot-on-subplots/123844)

<div class="topic-metadata">

**Author:** [@mekapses](https://discourse.julialang.org/u/mekapses)\
**Replies:** 3\
**Last updated:** [December 16, 2024, 12:01am UTC](https://discourse.julialang.org/t/idiomatic-way-to-overplot-on-subplots/123844 "2024-12-16T00:01:30Z")

</div>

If I want to create 10 histograms of 10 samples, and overplot a predicted curve on each one, and then plot all 10 subplots in a layout, what’s the most Julianic way of doing this? I’ve been using nested loops and a colle…

---

## [Power system modeling](https://discourse.julialang.org/t/power-system-modeling/123823)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 11\
**Last updated:** [December 15, 2024, 11:34pm UTC](https://discourse.julialang.org/t/power-system-modeling/123823 "2024-12-15T23:34:05Z")

</div>

I saw a job position with the requirement: “Proficiency in open-source power system tools (e.g. PyPSA, Dispa-SET, or Calliope) and other dispatch-related software.” Is there anything similar in Julia?

---

## [How to make Julia package that uses external (non Julia) code?](https://discourse.julialang.org/t/how-to-make-julia-package-that-uses-external-non-julia-code/123570)

<div class="topic-metadata">

**Author:** [@KSepetanc](https://discourse.julialang.org/u/KSepetanc)\
**Replies:** 13\
**Last updated:** [December 15, 2024, 10:58pm UTC](https://discourse.julialang.org/t/how-to-make-julia-package-that-uses-external-non-julia-code/123570 "2024-12-15T22:58:55Z")

</div>

I want to convert my project code (structured like package, i.e. has /src, /test, Project.toml, Manifest.toml…) to real package. The issue is that in /src it has also ampl code so it is not full Julia. The Julia code has…

---

## [Unable to find \`fit\` in \`CatBoost.MLJCatBoostInterface](https://discourse.julialang.org/t/unable-to-find-fit-in-catboost-mljcatboostinterface/123818)

<div class="topic-metadata">

**Author:** [@julien\_goo](https://discourse.julialang.org/u/julien_goo)\
**Replies:** 4\
**Last updated:** [December 15, 2024, 9:53pm UTC](https://discourse.julialang.org/t/unable-to-find-fit-in-catboost-mljcatboostinterface/123818 "2024-12-15T21:53:32Z")

</div>

Hi! I have developped a ML workflow using MLJ with some data preparation, feature engineer, cross-val and tuning (evaluate! function). Up to now, I used LightGBM (it worked fine), but since I have categorical variables,…

---

## [Can I move an array asynchronously from main program to CUDA?](https://discourse.julialang.org/t/can-i-move-an-array-asynchronously-from-main-program-to-cuda/119976)

<div class="topic-metadata">

**Author:** [@joaquimg](https://discourse.julialang.org/u/joaquimg)\
**Replies:** 7\
**Last updated:** [December 15, 2024, 8:37pm UTC](https://discourse.julialang.org/t/can-i-move-an-array-asynchronously-from-main-program-to-cuda/119976 "2024-12-15T20:37:49Z")

</div>

I have an application that would benefit from passing an array asynchronously from the main program to my CUDA GPU while I am doing other computations on my CPU. The GPU would only be working on receiving the array. Als…

---

## [Does BitArraysX.jl or similar exist?](https://discourse.julialang.org/t/does-bitarraysx-jl-or-similar-exist/123869)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 2\
**Last updated:** [December 15, 2024, 8:07pm UTC](https://discourse.julialang.org/t/does-bitarraysx-jl-or-similar-exist/123869 "2024-12-15T20:07:46Z")

</div>

There have been a few posts over the years discussing constructing a BitArray from bits in an existing Vector{\<:Unsigned}. Does a package that does some version of this exist? I’ve cobbled something together for my own…

---

## [arXiv: "The State of Julia for Scientific Machine Learning" by Berman & Ginesin](https://discourse.julialang.org/t/arxiv-the-state-of-julia-for-scientific-machine-learning-by-berman-ginesin/121413)

<div class="topic-metadata">

**Author:** [@jonasaugust](https://discourse.julialang.org/u/jonasaugust)\
**Replies:** 29\
**Last updated:** [December 15, 2024, 7:01pm UTC](https://discourse.julialang.org/t/arxiv-the-state-of-julia-for-scientific-machine-learning-by-berman-ginesin/121413 "2024-12-15T19:01:57Z")

</div>

The State of Julia for Scientific Machine Learning A brief survey. Considers why Julia isn’t more popular vs. Python & Jax. Finds calling Julia from other languages difficult.

---

## [Symbolics expand derivative throws an error](https://discourse.julialang.org/t/symbolics-expand-derivative-throws-an-error/123868)

<div class="topic-metadata">

**Author:** [@elvispy](https://discourse.julialang.org/u/elvispy)\
**Replies:** 4\
**Last updated:** [December 15, 2024, 6:52pm UTC](https://discourse.julialang.org/t/symbolics-expand-derivative-throws-an-error/123868 "2024-12-15T18:52:00Z")

</div>

How do I fix the following piece of code?. This seems like an issue to me, however I’m somewhat new to Julia and I’m not sure if i’m missing something or if this is a real ‘bug’ @variables r g = Symbolics.variable("f", …

---

## [ClassicCiphers.jl - A Julia Package for Classical Cryptography](https://discourse.julialang.org/t/classicciphers-jl-a-julia-package-for-classical-cryptography/123564)

<div class="topic-metadata">

**Author:** [@scelles](https://discourse.julialang.org/u/scelles)\
**Replies:** 3\
**Last updated:** [December 8, 2024, 7:32am UTC](https://discourse.julialang.org/t/classicciphers-jl-a-julia-package-for-classical-cryptography/123564 "2024-12-08T07:32:08Z")

</div>

Hi Julia community! I’m excited to share a new package I’ve been working on: ClassicCiphers.jl. This package was inspired by my experience solving some introduction cryptography challenges on Hackropole, a French CTF pl…

---

## ["gpu\_device" not defined in DDP with Flux](https://discourse.julialang.org/t/gpu-device-not-defined-in-ddp-with-flux/123857)

<div class="topic-metadata">

**Author:** [@niltsz](https://discourse.julialang.org/u/niltsz)\
**Replies:** 2\
**Last updated:** [December 15, 2024, 5:54pm UTC](https://discourse.julialang.org/t/gpu-device-not-defined-in-ddp-with-flux/123857 "2024-12-15T17:54:37Z")

</div>

Hey everybody, when I try to run the example from the Flux website for data distributed parallel training, I get the error that the gpu\_device is not defined, looking suspiciously familiar to a Lux name. Any suggestions …

---

## [Retrieve all variables appearing in a symbolic expression](https://discourse.julialang.org/t/retrieve-all-variables-appearing-in-a-symbolic-expression/123846)

<div class="topic-metadata">

**Author:** [@elvispy](https://discourse.julialang.org/u/elvispy)\
**Replies:** 2\
**Last updated:** [December 15, 2024, 5:35pm UTC](https://discourse.julialang.org/t/retrieve-all-variables-appearing-in-a-symbolic-expression/123846 "2024-12-15T17:35:52Z")

</div>

I would like to get all the variables involved in an expression, even the implicit ones. For example, if you do using Symbolics @variables x y u(x, y) println(Symbolics.get\_variables(u)) You get 1-element Vector{Symbol…

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

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