# Latest

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

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

**Page:** 29

---

## [Avoid \`-\` in \`@sprintf("%.1f", -0.001)\`](https://discourse.julialang.org/t/avoid-in-sprintf-1f-0-001/137334)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 4\
**Last updated:** [May 29, 2026, 8:00pm UTC](https://discourse.julialang.org/t/avoid-in-sprintf-1f-0-001/137334 "2026-05-29T20:00:44Z")

</div>

The title says it all, but generally I want to avoid a negative number that is rounded to all-zeros by printf to have a -. julia\> using Printf julia\> @sprintf("%.1f", -0.001) "-0.0" ▶ see a truly horrid solution here

---

## [Spike-and-Slab Implementation using Turing.jl?](https://discourse.julialang.org/t/spike-and-slab-implementation-using-turing-jl/132816)

<div class="topic-metadata">

**Author:** [@Debartha\_Paul](https://discourse.julialang.org/u/Debartha_Paul)\
**Replies:** 3\
**Last updated:** [May 29, 2026, 9:47am UTC](https://discourse.julialang.org/t/spike-and-slab-implementation-using-turing-jl/132816 "2026-05-29T09:47:17Z")

</div>

So I was looking for an implementation of spike-and-slab prior using the Turing.jl package. Say I have a model as follows: y\_{ig} \\sim N(\\theta\_g, \\sigma^2) where g = 1, \\cdots, G and i = 1, \\cdots, n\_g independently A…

---

## [Github action fails for documentation](https://discourse.julialang.org/t/github-action-fails-for-documentation/137313)

<div class="topic-metadata">

**Author:** [@Boris](https://discourse.julialang.org/u/Boris)\
**Replies:** 5\
**Last updated:** [May 29, 2026, 8:41am UTC](https://discourse.julialang.org/t/github-action-fails-for-documentation/137313 "2026-05-29T08:41:02Z")

</div>

Hi. I have a package on github and a CI worklfow for the documentation. I haven’t done any commits in a while and last time everything was working. Today the documentation build on github fails with a somewhat werid erro…

---

## [Save TDMS files](https://discourse.julialang.org/t/save-tdms-files/137317)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 4\
**Last updated:** [May 29, 2026, 6:13am UTC](https://discourse.julialang.org/t/save-tdms-files/137317 "2026-05-29T06:13:28Z")

</div>

Does a package exist to write data in NI compatible TDMS format? Here is my code, I am intersted to recieve your feedback: using PythonCall #: --- include Python-Package to write TDMS-File: nptdms = pyimport("nptdms") …

---

## [Request for Computational Review: Laser-Assisted Vapor-Quench Synthesis Model (Metamaterials)](https://discourse.julialang.org/t/request-for-computational-review-laser-assisted-vapor-quench-synthesis-model-metamaterials/137332)

<div class="topic-metadata">

**Author:** [@Taxi\_Schramm](https://discourse.julialang.org/u/Taxi_Schramm)\
**Replies:** 0\
**Last updated:** [May 29, 2026, 2:39am UTC](https://discourse.julialang.org/t/request-for-computational-review-laser-assisted-vapor-quench-synthesis-model-metamaterials/137332 "2026-05-29T02:39:38Z")

</div>

Hello everyone, I am an independent researcher at Malt Studios, operating under an Open Source Humanity framework. I am looking to get a rigorous peer review and stress test on the physical parameters for a localized la…

---

## [Can I decide if a program needs thread-safety at compile time based on the threads available by the julia process?](https://discourse.julialang.org/t/can-i-decide-if-a-program-needs-thread-safety-at-compile-time-based-on-the-threads-available-by-the-julia-process/137321)

<div class="topic-metadata">

**Author:** [@Tortar](https://discourse.julialang.org/u/Tortar)\
**Replies:** 7\
**Last updated:** [May 28, 2026, 8:43pm UTC](https://discourse.julialang.org/t/can-i-decide-if-a-program-needs-thread-safety-at-compile-time-based-on-the-threads-available-by-the-julia-process/137321 "2026-05-28T20:43:11Z")

</div>

i.e. can I do something like const needs\_thread\_safety = Threads.nthreads() == 1 ? false : true and then use the constant to compile differently if it is true or false (disabling atomics and/or locks if false)? Or do I…

---

## [Filtering Array Rows By Matching Element Value](https://discourse.julialang.org/t/filtering-array-rows-by-matching-element-value/137320)

<div class="topic-metadata">

**Author:** [@ducksoverip](https://discourse.julialang.org/u/ducksoverip)\
**Replies:** 7\
**Last updated:** [May 28, 2026, 7:05pm UTC](https://discourse.julialang.org/t/filtering-array-rows-by-matching-element-value/137320 "2026-05-28T19:05:25Z")

</div>

I’m a Julia newbie working with some inherited Fortran 90 code for research purposes. One of the things the Fortran code does is write a list of parameters to file for future use, eg: 0 0 0 1 1 0 1 1 2 0 Say the column…

---

## [https://juliahub.com/ui/Packages/General/FFMPEG give 404 page](https://discourse.julialang.org/t/https-juliahub-com-ui-packages-general-ffmpeg-give-404-page/137241)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 3\
**Last updated:** [May 28, 2026, 6:14pm UTC](https://discourse.julialang.org/t/https-juliahub-com-ui-packages-general-ffmpeg-give-404-page/137241 "2026-05-28T18:14:47Z")

</div>

This has been happening for all packages I try to view via JuliaHub. I am able to get to the “source” repositories. Packages/FFMPEG Got a \*\*404\*\* when trying to retrieve package information. 🔨 Either this packa…

---

## [\[ANN\] ManifoldMakie.jl – Plotting recipes for data on Manifolds](https://discourse.julialang.org/t/ann-manifoldmakie-jl-plotting-recipes-for-data-on-manifolds/137318)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 0\
**Last updated:** [May 28, 2026, 2:49pm UTC](https://discourse.julialang.org/t/ann-manifoldmakie-jl-plotting-recipes-for-data-on-manifolds/137318 "2026-05-28T14:49:37Z")

</div>

When working with data on manifolds – like I do often – visualising data can help. This post is to annouce ManifoldMakie.jl – Makie recipes to plot data on manifolds! For quite some years I first used Asymptote, and eve…

---

## [Column-wise calculations in arrays are slower](https://discourse.julialang.org/t/column-wise-calculations-in-arrays-are-slower/107814)

<div class="topic-metadata">

**Author:** [@vsoler](https://discourse.julialang.org/u/vsoler)\
**Replies:** 16\
**Last updated:** [May 28, 2026, 2:32pm UTC](https://discourse.julialang.org/t/column-wise-calculations-in-arrays-are-slower/107814 "2026-05-28T14:32:01Z")

</div>

I just read the excellent article on improving calculation performance in loops on the Julia blog fast-numeric. In the article we can read … Julia arrays are stored in column-major order, which means that the rows of …

---

## [Windows 11 KB5089573 multithreading issues](https://discourse.julialang.org/t/windows-11-kb5089573-multithreading-issues/137312)

<div class="topic-metadata">

**Author:** [@arch-dev](https://discourse.julialang.org/u/arch-dev)\
**Replies:** 3\
**Last updated:** [May 28, 2026, 1:21pm UTC](https://discourse.julialang.org/t/windows-11-kb5089573-multithreading-issues/137312 "2026-05-28T13:21:20Z")

</div>

Today, I’ve installed the KB5089573 update which brings the so called “Low Latency Profile” feature to Windows 11 (more information here). Up to now I’ve never had any issues with multithreading. My usage case is a while…

---

## [How to combine @nospecialize with type parameters?](https://discourse.julialang.org/t/how-to-combine-nospecialize-with-type-parameters/137304)

<div class="topic-metadata">

**Author:** [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Replies:** 6\
**Last updated:** [May 28, 2026, 11:29am UTC](https://discourse.julialang.org/t/how-to-combine-nospecialize-with-type-parameters/137304 "2026-05-28T11:29:20Z")

</div>

It seems that type parameters in functions prevent @nospecialize from having an effect: julia\> f(@nospecialize x::T) where T = 0; julia\> f(1); f(1.0); julia\> m = only(methods(f)); m.specializations |\> collect 7-elemen…

---

## [Makie cascading menus](https://discourse.julialang.org/t/makie-cascading-menus/136488)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 2\
**Last updated:** [May 28, 2026, 11:28am UTC](https://discourse.julialang.org/t/makie-cascading-menus/136488 "2026-05-28T11:28:45Z")

</div>

I am trying to build some cascading menus in Makie.jl. If we call them menu1, menu2, menu3, then the options in menu2 will depend upon the result of menu1, and likewise the options in menu3 will depend up the selection …

---

## [Dictionary for thread-safe, limited memoization](https://discourse.julialang.org/t/dictionary-for-thread-safe-limited-memoization/137072)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 25\
**Last updated:** [May 27, 2026, 10:14pm UTC](https://discourse.julialang.org/t/dictionary-for-thread-safe-limited-memoization/137072 "2026-05-27T22:14:14Z")

</div>

I am looking for a Dict-like type which allows me to keep only the last N values inserted, for some value of N::Int, is thread-safe. Background: memoization, where the resulting objects are large and I am unlike…

---

## [UDPSocket()](https://discourse.julialang.org/t/udpsocket/137291)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 4\
**Last updated:** [May 27, 2026, 3:09pm UTC](https://discourse.julialang.org/t/udpsocket/137291 "2026-05-27T15:09:54Z")

</div>

I have severe problems to listen to a port on which an UDP-Socket server sends packages. I see the packages in Wireshark and my Python-Script can see the packages as well. But I struggle to achieve the same in Julia. …

---

## [\[ANN\] PrismMaterialDecomposition.jl](https://discourse.julialang.org/t/ann-prismmaterialdecomposition-jl/137295)

<div class="topic-metadata">

**Author:** [@fdekerme](https://discourse.julialang.org/u/fdekerme)\
**Replies:** 0\
**Last updated:** [May 27, 2026, 2:26pm UTC](https://discourse.julialang.org/t/ann-prismmaterialdecomposition-jl/137295 "2026-05-27T14:26:20Z")

</div>

Hi everyone :grin: I’m very excited to share that our recent Medical Physics paper has just been published along with the corresponding package: PrismMaterialDecomposition.jl. PrismMaterialDecomposition.jl is a Juli…

---

## [\[ANN\] ProtocGen.jl protobuf support for julia](https://discourse.julialang.org/t/ann-protocgen-jl-protobuf-support-for-julia/137265)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 3\
**Last updated:** [May 27, 2026, 9:43am UTC](https://discourse.julialang.org/t/ann-protocgen-jl-protobuf-support-for-julia/137265 "2026-05-27T09:43:17Z")

</div>

ProtocGen.jl Julia code generator for Protocol Buffers. It is meant to be used as a protoc plugin. Passes the official required proto2 and proto3 conformance tests for both binary and JSON. Install Install protoc-ge…

---

## [Should Julia have rsqrt? And e.g. support RSQRTSS](https://discourse.julialang.org/t/should-julia-have-rsqrt-and-e-g-support-rsqrtss/125969)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 16\
**Last updated:** [May 26, 2026, 7:00pm UTC](https://discourse.julialang.org/t/should-julia-have-rsqrt-and-e-g-support-rsqrtss/125969 "2026-05-26T19:00:05Z")

</div>

Neither Python (Numpy) nor C++ have rsqrt, but pytorch and tensorflow have it (I didn’t confirm in Flux.jl or Lux.jl or look carefully, though CUDA.jl/Nvidia and JavaScript stdlib have for single and double, and AMD/HIP …

---

## [Running from command line Windows 10](https://discourse.julialang.org/t/running-from-command-line-windows-10/137247)

<div class="topic-metadata">

**Author:** [@jsampson45](https://discourse.julialang.org/u/jsampson45)\
**Replies:** 11\
**Last updated:** [May 26, 2026, 6:18pm UTC](https://discourse.julialang.org/t/running-from-command-line-windows-10/137247 "2026-05-26T18:18:16Z")

</div>

Can Julia be set up to run from Windows 10 command line? Docs say it runs from command line but the system does not find the file. AFAICS there are juliaup.exe, julialauncher.exe, and two copies of julia.exe on my system…

---

## [Surrogate with derivatives](https://discourse.julialang.org/t/surrogate-with-derivatives/137277)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 6\
**Last updated:** [May 26, 2026, 11:42am UTC](https://discourse.julialang.org/t/surrogate-with-derivatives/137277 "2026-05-26T11:42:02Z")

</div>

I am solving an implicit function f(x, y(x)) = 0 with x, y \\in \\mathbb{R}^n (typical n is 50–200), using iterative methods (trust region), at many x’s. This question is about finding a good initial value y\_0(x) for ea…

---

## [New conference for open-source computation and data](https://discourse.julialang.org/t/new-conference-for-open-source-computation-and-data/137283)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 0\
**Last updated:** [May 26, 2026, 8:14am UTC](https://discourse.julialang.org/t/new-conference-for-open-source-computation-and-data/137283 "2026-05-26T08:14:32Z")

</div>

Hi everyone! The crew behind PyData Paris is launching a new annual conference called Compute!, which aims to gather everyone interested in open-source computation and data. The organizing team has contributed to Jupyte…

---

## [Any good alternative to GitHub?](https://discourse.julialang.org/t/any-good-alternative-to-github/137242)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 19\
**Last updated:** [May 25, 2026, 10:03pm UTC](https://discourse.julialang.org/t/any-good-alternative-to-github/137242 "2026-05-25T22:03:28Z")

</div>

The quality of GitHub’s services has declined significantly in the last few months (or longer?). Are there any good alternatives for hosting Julia packages?

---

## [Readdlm with IOBuffer](https://discourse.julialang.org/t/readdlm-with-iobuffer/137275)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 6\
**Last updated:** [May 25, 2026, 6:36pm UTC](https://discourse.julialang.org/t/readdlm-with-iobuffer/137275 "2026-05-25T18:36:33Z")

</div>

I have a ASCII datafile that has a number of different vectors and matrices within it. Once I have the file read, I can figure out what is vector and what is a matrix. I thought I would use readdlm to read the matrix, …

---

## [DRM Radio 📻 & Julia](https://discourse.julialang.org/t/drm-radio-julia/136346)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 10\
**Last updated:** [May 25, 2026, 3:59pm UTC](https://discourse.julialang.org/t/drm-radio-julia/136346 "2026-05-25T15:59:05Z")

</div>

I see that Digital Radio Mondiale is replacing analog radios in many countries. Can Julia be used in this DE9180 Demonstration and Prototyping Kit for the DRM1000 Broadcast Receiver Module | CMLMicro ? CMLMicro is using …

---

## [Shorten type in stack trace](https://discourse.julialang.org/t/shorten-type-in-stack-trace/137259)

<div class="topic-metadata">

**Author:** [@Tortar](https://discourse.julialang.org/u/Tortar)\
**Replies:** 4\
**Last updated:** [May 25, 2026, 12:37pm UTC](https://discourse.julialang.org/t/shorten-type-in-stack-trace/137259 "2026-05-25T12:37:18Z")

</div>

I have this long stack trace like this one appearing when running the tests of the package, which originates from the fact that the type has many parameters: \[3\] finalize\_search\_and\_match!(world::Ark.World{Tuple{Ark.\_Co…

---

## [\[ANN\] DataSplits.jl - data splitting for model selection](https://discourse.julialang.org/t/ann-datasplits-jl-data-splitting-for-model-selection/137274)

<div class="topic-metadata">

**Author:** [@davide.crucitti](https://discourse.julialang.org/u/davide.crucitti)\
**Replies:** 0\
**Last updated:** [May 25, 2026, 10:46am UTC](https://discourse.julialang.org/t/ann-datasplits-jl-data-splitting-for-model-selection/137274 "2026-05-25T10:46:06Z")

</div>

Hi all, I’m pleased to announce DataSplits.jl , a new package for constructing train/test splits and cross-validation folds for model selection. The motivation is simple: when benchmarking models, the split is often as…

---

## [Windows setup in an externally administered environment](https://discourse.julialang.org/t/windows-setup-in-an-externally-administered-environment/137255)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 12\
**Last updated:** [May 24, 2026, 3:51pm UTC](https://discourse.julialang.org/t/windows-setup-in-an-externally-administered-environment/137255 "2026-05-24T15:51:16Z")

</div>

Currently I have an old Mac at work, which will be replaced by a Windows computer. They are administered by an external company, who are usually forthcoming but sometimes slow. I will ask for local admin privileges, mayb…

---

## [Document Expr(:symbolicgoto, ...) and :symboliclabel](https://discourse.julialang.org/t/document-expr-symbolicgoto-and-symboliclabel/137267)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 10\
**Last updated:** [May 24, 2026, 1:26pm UTC](https://discourse.julialang.org/t/document-expr-symbolicgoto-and-symboliclabel/137267 "2026-05-24T13:26:13Z")

</div>

To get something equivalent to @goto foo and @label foo in a macro, one has to use Expr(:symbolicgoto, :foo) or Expr(:symbolicgoto, :foo) (see eg this and similar topics). Would it make sense to document this in the doc…

---

## [Common data utilities for time series](https://discourse.julialang.org/t/common-data-utilities-for-time-series/137104)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 15\
**Last updated:** [May 23, 2026, 11:03pm UTC](https://discourse.julialang.org/t/common-data-utilities-for-time-series/137104 "2026-05-23T23:03:20Z")

</div>

I frequently find myself having to cleanup and process raw ‘real’ data. I am really not a data person, but I think this is called data plumbing. And to be honest, I don’t have much fun doing it :slight\_smile: Typical op…

---

## [CUDA backward real complex FFT](https://discourse.julialang.org/t/cuda-backward-real-complex-fft/137254)

<div class="topic-metadata">

**Author:** [@FerreolS](https://discourse.julialang.org/u/FerreolS)\
**Replies:** 2\
**Last updated:** [May 23, 2026, 9:12pm UTC](https://discourse.julialang.org/t/cuda-backward-real-complex-fft/137254 "2026-05-23T21:12:58Z")

</div>

I’m trying to perform a convolution using CUDA fft and something puzzle me when comparing CPU and GPU result: using Adapt, CUDA, FFTW, AbstractFFTs T = Float32 sz = (2048,2048) x = randn(T,sz); x\_gpu = adapt(CuArray,x);…

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

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