# Latest

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

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

**Page:** 201

---

## [New on Forem: “Generate Prime Pairs for Goldbach's Conjecture"](https://discourse.julialang.org/t/new-on-forem-generate-prime-pairs-for-goldbachs-conjecture/125705)

<div class="topic-metadata">

**Author:** [@oheil](https://discourse.julialang.org/u/oheil)\
**Replies:** 3\
**Last updated:** [March 18, 2025, 10:05pm UTC](https://discourse.julialang.org/t/new-on-forem-generate-prime-pairs-for-goldbachs-conjecture/125705 "2025-03-18T22:05:16Z")

</div>

Jabari Zakiya has published a new article on Forem: I hope you enjoy reading it. This time there are specific performance questions asked comparing Ruby code against a Julia translation.

---

## [+ for Unit Range. Is my REPL broken?](https://discourse.julialang.org/t/for-unit-range-is-my-repl-broken/127112)

<div class="topic-metadata">

**Author:** [@Eventine](https://discourse.julialang.org/u/Eventine)\
**Replies:** 12\
**Last updated:** [March 18, 2025, 9:54pm UTC](https://discourse.julialang.org/t/for-unit-range-is-my-repl-broken/127112 "2025-03-18T21:54:12Z")

</div>

Is this really not there: methods(+,(UnitRange{Int},Int)) # 0 methods for generic function "+" from Base or is my local REPL broken? This is what I had to add: Base.:(+)(r::AbstractRange{T}, x::Real) where {T\<:Real} …

---

## [DuckDB, FunSQL.jl, reading data](https://discourse.julialang.org/t/duckdb-funsql-jl-reading-data/127119)

<div class="topic-metadata">

**Author:** [@jerlich](https://discourse.julialang.org/u/jerlich)\
**Replies:** 0\
**Last updated:** [March 18, 2025, 9:20pm UTC](https://discourse.julialang.org/t/duckdb-funsql-jl-reading-data/127119 "2025-03-18T21:20:34Z")

</div>

Expanding Man Wednesday at 2:27 PM using DuckDB to interact with files, granting full query ability for files, really is great. The only thing that sucks about it is having to deal with SQL. I’m increasingly tempted to …

---

## [How can I use pre-allocated vectors in a private way?](https://discourse.julialang.org/t/how-can-i-use-pre-allocated-vectors-in-a-private-way/127111)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 7\
**Last updated:** [March 18, 2025, 9:12pm UTC](https://discourse.julialang.org/t/how-can-i-use-pre-allocated-vectors-in-a-private-way/127111 "2025-03-18T21:12:45Z")

</div>

For performance reasons I want to use pre-allocated vectors. This often gives a 10 to 35 times perfomance boost. Simple example: using Parameters @with\_kw struct Solver{P} vec1::Vector{Float64} = zeros(P) vec2…

---

## [Potential US West Coast Meetups (Portland, Bay Area, San Diego)](https://discourse.julialang.org/t/potential-us-west-coast-meetups-portland-bay-area-san-diego/126609)

<div class="topic-metadata">

**Author:** [@Keno](https://discourse.julialang.org/u/Keno)\
**Replies:** 13\
**Last updated:** [March 18, 2025, 8:40pm UTC](https://discourse.julialang.org/t/potential-us-west-coast-meetups-portland-bay-area-san-diego/126609 "2025-03-18T20:40:49Z")

</div>

I am doing a bit of a last-minute west coast tour with stops in Portland, SF Bay Area and San Diego. I’d like to gauge interest in organizing some informal meetups while I’m there. I don’t have much bandwidth to organize…

---

## [I can't change color or alpha parameter of wireframe surface](https://discourse.julialang.org/t/i-cant-change-color-or-alpha-parameter-of-wireframe-surface/127104)

<div class="topic-metadata">

**Author:** [@sesamelimit](https://discourse.julialang.org/u/sesamelimit)\
**Replies:** 1\
**Last updated:** [March 18, 2025, 8:40pm UTC](https://discourse.julialang.org/t/i-cant-change-color-or-alpha-parameter-of-wireframe-surface/127104 "2025-03-18T20:40:44Z")

</div>

no matter what i do it stays black, i wanted it to be more transparent, so i could plot line behind it, but it doesn’t seem to work. I’ve tried all alpha parameters, then i’ve just tried to color the line itself and i…

---

## [Mosek.jl version 11 installation issue](https://discourse.julialang.org/t/mosek-jl-version-11-installation-issue/126982)

<div class="topic-metadata">

**Author:** [@SingingKim](https://discourse.julialang.org/u/SingingKim)\
**Replies:** 5\
**Last updated:** [March 18, 2025, 7:41pm UTC](https://discourse.julialang.org/t/mosek-jl-version-11-installation-issue/126982 "2025-03-18T19:41:22Z")

</div>

Can someone please confirm whether Mosek.jl and MosekTools.jl support Mosek version 11? I get the following message: (@v1.11) pkg\> add Mosek Resolving package versions... Installed Mosek ─ v10.2.0 No Changes to…

---

## [InexactError vs OverflowError](https://discourse.julialang.org/t/inexacterror-vs-overflowerror/127108)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 3\
**Last updated:** [March 18, 2025, 7:05pm UTC](https://discourse.julialang.org/t/inexacterror-vs-overflowerror/127108 "2025-03-18T19:05:55Z")

</div>

I have a number type which throws when the result of a binary operation like + or \* is not representable in this type. I think InexactError is the right choice of exception, while OverflowError seems like a bad choice be…

---

## [Adapt BroadcastStyle for CUDA](https://discourse.julialang.org/t/adapt-broadcaststyle-for-cuda/126861)

<div class="topic-metadata">

**Author:** [@RainerHeintzmann](https://discourse.julialang.org/u/RainerHeintzmann)\
**Replies:** 1\
**Last updated:** [March 18, 2025, 5:50pm UTC](https://discourse.julialang.org/t/adapt-broadcaststyle-for-cuda/126861 "2025-03-18T17:50:40Z")

</div>

I am trying to get CUDA.jl to work seamlessly with a MutableShiftedArray . By writing a CUDASupportExt.jl class: module CUDASupportExt using CUDA using Adapt using MutableShiftedArrays indexing CUDA error # lets do t…

---

## [Using Pkg, how do I dev a local branch of a package](https://discourse.julialang.org/t/using-pkg-how-do-i-dev-a-local-branch-of-a-package/127069)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 6\
**Last updated:** [March 18, 2025, 5:17pm UTC](https://discourse.julialang.org/t/using-pkg-how-do-i-dev-a-local-branch-of-a-package/127069 "2025-03-18T17:17:00Z")

</div>

There is a package that I am developing (GitHub - SciML/Catalyst.jl: Chemical reaction network and systems biology interface for scientific machine learning (SciML). High performance, GPU-parallelized, and O(1) solvers i…

---

## [BitIntegers: creation in loop; how to avoid allocations?](https://discourse.julialang.org/t/bitintegers-creation-in-loop-how-to-avoid-allocations/115935)

<div class="topic-metadata">

**Author:** [@Leo\_I](https://discourse.julialang.org/u/Leo_I)\
**Replies:** 6\
**Last updated:** [March 18, 2025, 3:30pm UTC](https://discourse.julialang.org/t/bitintegers-creation-in-loop-how-to-avoid-allocations/115935 "2025-03-18T15:30:36Z")

</div>

I asked this question in a GitHub issue but got no replies: I’d like to create all BitIntegers of byte length up to 1024. I don’t want to write 128 lines of code for that, so I’m trying to use a loop. Running the follow…

---

## [Introductory course on geospatial data science and geostatistics](https://discourse.julialang.org/t/introductory-course-on-geospatial-data-science-and-geostatistics/127100)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 1\
**Last updated:** [March 18, 2025, 3:14pm UTC](https://discourse.julialang.org/t/introductory-course-on-geospatial-data-science-and-geostatistics/127100 "2025-03-18T15:14:21Z")

</div>

Target audience → Beginners Language → Brazilian portuguese Host → ABGE (Brazilian association of geologists and engineers)

---

## [Applying Dirichlet boundary conditions to assembled forcing terms](https://discourse.julialang.org/t/applying-dirichlet-boundary-conditions-to-assembled-forcing-terms/127092)

<div class="topic-metadata">

**Author:** [@Simons](https://discourse.julialang.org/u/Simons)\
**Replies:** 1\
**Last updated:** [March 18, 2025, 12:56pm UTC](https://discourse.julialang.org/t/applying-dirichlet-boundary-conditions-to-assembled-forcing-terms/127092 "2025-03-18T12:56:32Z")

</div>

Hi, I’m interested in solving a sequence of finite element problems a(u\_n,v) = b\_n(v) (A x\_n = b\_n in assembled form), all of which have the same boundary conditions. Since A is constant, I want to avoid re-assembling A…

---

## [Regex for Apache Directory directive](https://discourse.julialang.org/t/regex-for-apache-directory-directive/127089)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 5\
**Last updated:** [March 18, 2025, 11:49am UTC](https://discourse.julialang.org/t/regex-for-apache-directory-directive/127089 "2025-03-18T11:49:47Z")

</div>

I am trying to set up a DAV access to our computational server… If I name individual Directory directives it works: \<Directory /home/userfoo\> DAV On AuthName "webdav" AuthType Basic AuthBasi…

---

## [Would it be a good idea to list academic papers using Julia on the Julia-lang website?](https://discourse.julialang.org/t/would-it-be-a-good-idea-to-list-academic-papers-using-julia-on-the-julia-lang-website/127005)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 6\
**Last updated:** [March 18, 2025, 10:19am UTC](https://discourse.julialang.org/t/would-it-be-a-good-idea-to-list-academic-papers-using-julia-on-the-julia-lang-website/127005 "2025-03-18T10:19:24Z")

</div>

As more and more academic papers use Julia, I wonder if it would be a good idea to list them on the Julia-lang website, similar to the list of books that use Julia. It would bring a bit more recognition to authors within…

---

## [Julia (standard) library vs. Python's (standard) library or Java's](https://discourse.julialang.org/t/julia-standard-library-vs-pythons-standard-library-or-javas/122877)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 1\
**Last updated:** [March 18, 2025, 8:58am UTC](https://discourse.julialang.org/t/julia-standard-library-vs-pythons-standard-library-or-javas/122877 "2025-03-18T08:58:33Z")

</div>

Famously Python has or had batteries included, but they have dropped a lot of modules/“dead batteries”: They actually needed to have more in their standard library, at some point, now less of a need with package manag…

---

## [How can large language models work with julia?](https://discourse.julialang.org/t/how-can-large-language-models-work-with-julia/126976)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 4\
**Last updated:** [March 18, 2025, 7:19am UTC](https://discourse.julialang.org/t/how-can-large-language-models-work-with-julia/126976 "2025-03-18T07:19:56Z")

</div>

Large language models such as ChatGPT, DeepSeek, etc. are all the rage these days. How can we use them in the world of Julia? What kind of fun things can we do? What is the state of the art relevant to the usage of large…

---

## [Two-sided moving average with intermittent missing data:](https://discourse.julialang.org/t/two-sided-moving-average-with-intermittent-missing-data/126937)

<div class="topic-metadata">

**Author:** [@GeodeticR](https://discourse.julialang.org/u/GeodeticR)\
**Replies:** 13\
**Last updated:** [March 18, 2025, 6:55am UTC](https://discourse.julialang.org/t/two-sided-moving-average-with-intermittent-missing-data/126937 "2025-03-18T06:55:57Z")

</div>

I think I’m over-thinking this issue I’m having when trying to use a two-sided moving average. All I want to do is create a two-sided moving window that “doesn’t care” about missing data in my GPS timeseries. As long a…

---

## [Is it hard to support Julia UDFs in DuckDB?](https://discourse.julialang.org/t/is-it-hard-to-support-julia-udfs-in-duckdb/118509)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 42\
**Last updated:** [March 18, 2025, 1:27am UTC](https://discourse.julialang.org/t/is-it-hard-to-support-julia-udfs-in-duckdb/118509 "2025-03-18T01:27:37Z")

</div>

As far as I can tell there’s no UDF in Julia for DuckDB. Gemini says it’s easy to add but a google search turns up this Github issue which seems to suggest that it is available and need some work. Does anyone know what…

---

## [Pairwise reduction significantly slower than two scalar reductions](https://discourse.julialang.org/t/pairwise-reduction-significantly-slower-than-two-scalar-reductions/127064)

<div class="topic-metadata">

**Author:** [@user664303](https://discourse.julialang.org/u/user664303)\
**Replies:** 11\
**Last updated:** [March 18, 2025, 12:33am UTC](https://discourse.julialang.org/t/pairwise-reduction-significantly-slower-than-two-scalar-reductions/127064 "2025-03-18T00:33:17Z")

</div>

I’ve written two reductions which both do the same thing: compute the sum and the squared norm of a vector. One does this in one pass through the data, accumulating two values as it goes. The second does two passes throu…

---

## [Writing excel from dataframes](https://discourse.julialang.org/t/writing-excel-from-dataframes/126932)

<div class="topic-metadata">

**Author:** [@emt85](https://discourse.julialang.org/u/emt85)\
**Replies:** 7\
**Last updated:** [March 18, 2025, 12:17am UTC](https://discourse.julialang.org/t/writing-excel-from-dataframes/126932 "2025-03-18T00:17:31Z")

</div>

Hi… I am somewhat new to julia and am still learning how to play around with data. I feel more comfortable with excel and want to export my dataframes into an excel sheet. I followed this template: XLSX.writetable( “f…

---

## [\[ANN\] Documenter 1.9 - public keyword support](https://discourse.julialang.org/t/ann-documenter-1-9-public-keyword-support/127021)

<div class="topic-metadata">

**Author:** [@mortenpi](https://discourse.julialang.org/u/mortenpi)\
**Replies:** 3\
**Last updated:** [March 17, 2025, 10:55pm UTC](https://discourse.julialang.org/t/ann-documenter-1-9-public-keyword-support/127021 "2025-03-17T22:55:26Z")

</div>

I am happy to announce Documenter 1.9.0! As is often the case, there’s a bunch of changes in this release, and please see the release notes for full details. As always, thank you to everyone who contributed! However, on…

---

## [Emacs Debugging (Request for Testing)](https://discourse.julialang.org/t/emacs-debugging-request-for-testing/122111)

<div class="topic-metadata">

**Author:** [@shmiggles](https://discourse.julialang.org/u/shmiggles)\
**Replies:** 2\
**Last updated:** [March 17, 2025, 9:51pm UTC](https://discourse.julialang.org/t/emacs-debugging-request-for-testing/122111 "2025-03-17T21:51:45Z")

</div>

Debugging Julia programs in Emacs is now possible. Open PR for dap-mode integration with DebugAdapter: Support Julia by kovariance · Pull Request #813 · emacs-lsp/dap-mode · GitHub (it includes a screenshot). I would ap…

---

## [Makie: Linking cameras in multiple 3d plots](https://discourse.julialang.org/t/makie-linking-cameras-in-multiple-3d-plots/83309)

<div class="topic-metadata">

**Author:** [@Thomberger](https://discourse.julialang.org/u/Thomberger)\
**Replies:** 8\
**Last updated:** [March 17, 2025, 9:25pm UTC](https://discourse.julialang.org/t/makie-linking-cameras-in-multiple-3d-plots/83309 "2025-03-17T21:25:37Z")

</div>

Is there a way to link cameras in multiple 3d plot. For now I use my first axis as the main one, and update the azimuth and elevation all all the other axis based on this one. However, with this solution i can change the…

---

## [Metaprogramming: prefer functions with eval or macros?](https://discourse.julialang.org/t/metaprogramming-prefer-functions-with-eval-or-macros/127066)

<div class="topic-metadata">

**Author:** [@mattsignorelli](https://discourse.julialang.org/u/mattsignorelli)\
**Replies:** 4\
**Last updated:** [March 17, 2025, 6:56pm UTC](https://discourse.julialang.org/t/metaprogramming-prefer-functions-with-eval-or-macros/127066 "2025-03-17T18:56:31Z")

</div>

In Julia it seems there are two ways one could do code generation within in a package: 1) define a function which calls eval and then call the function within the package module, or 2) define a macro which creates the fu…

---

## [Tensor decompositions in Julia](https://discourse.julialang.org/t/tensor-decompositions-in-julia/112937)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 1\
**Last updated:** [March 17, 2025, 5:56pm UTC](https://discourse.julialang.org/t/tensor-decompositions-in-julia/112937 "2025-03-17T17:56:34Z")

</div>

I was wondering if there is a package for tensor decomposition was in Julia–hopefully the package is differentiable as well for ML. I am talking about CP-decompositions and Tucker decompositions to start. I actually woul…

---

## [I don't understand why it is slower with CuStaticSharedArray](https://discourse.julialang.org/t/i-dont-understand-why-it-is-slower-with-custaticsharedarray/126763)

<div class="topic-metadata">

**Author:** [@Ludovic\_Dumoulin](https://discourse.julialang.org/u/Ludovic_Dumoulin)\
**Replies:** 9\
**Last updated:** [March 17, 2025, 4:35pm UTC](https://discourse.julialang.org/t/i-dont-understand-why-it-is-slower-with-custaticsharedarray/126763 "2025-03-17T16:35:32Z")

</div>

Hello, I am new to Julia and I am trying to use an iterative scheme to solve a force balance equation, concretely the kernel without shared memory is quite simple: function kernel\_comp\_v\_noshmem!(vn, v, F) # Indexi…

---

## [Moving ahead with CUDA support](https://discourse.julialang.org/t/moving-ahead-with-cuda-support/126208)

<div class="topic-metadata">

**Author:** [@RainerHeintzmann](https://discourse.julialang.org/u/RainerHeintzmann)\
**Replies:** 2\
**Last updated:** [March 17, 2025, 4:13pm UTC](https://discourse.julialang.org/t/moving-ahead-with-cuda-support/126208 "2025-03-17T16:13:48Z")

</div>

For a number of applications CUDA (and AD) support of various packages (e.g. FourierTools.jl) would be great. One road-block is the support of a form of shifted and padded images. Sometimes a requirement is a shifted an…

---

## [Dynamic panel data models in Julia](https://discourse.julialang.org/t/dynamic-panel-data-models-in-julia/126979)

<div class="topic-metadata">

**Author:** [@keynescoefen](https://discourse.julialang.org/u/keynescoefen)\
**Replies:** 3\
**Last updated:** [March 17, 2025, 3:51pm UTC](https://discourse.julialang.org/t/dynamic-panel-data-models-in-julia/126979 "2025-03-17T15:51:33Z")

</div>

Hello! Does anyone know whether any packages implement dynamic panel data models, like xtabond would in Stata? Thank you!

---

## [Return value of \`begin ... end\`](https://discourse.julialang.org/t/return-value-of-begin-end/127010)

<div class="topic-metadata">

**Author:** [@LEXUGE](https://discourse.julialang.org/u/LEXUGE)\
**Replies:** 15\
**Last updated:** [March 17, 2025, 3:45pm UTC](https://discourse.julialang.org/t/return-value-of-begin-end/127010 "2025-03-17T15:45:43Z")

</div>

I understand the expression will be evaluated to a value. So a = 1 will be evaluated to 1 where as a=1; will not However, I expect begin a = 1; end to evaluate to nothing as well. Why does it evaluate to 1? Intuitiv…

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

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