# General Usage

**URL:** https://discourse.julialang.org/c/usage/6.md?page=25

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

**Page:** 26

---

## [What's new in v1.13?](https://discourse.julialang.org/t/whats-new-in-v1-13/134497)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 12\
**Last updated:** [December 15, 2025, 8:13pm UTC](https://discourse.julialang.org/t/whats-new-in-v1-13/134497 "2025-12-15T20:13:08Z")

</div>

Small question, what’s important new feature in v1.13? As the freezing period has passed, I had a look at the NEWS file, but I couldn’t get the feeling of what - if any - “big” new feature is landing in the next upcomin…

---

## [Pythonplot: let LaTeX render text in final document](https://discourse.julialang.org/t/pythonplot-let-latex-render-text-in-final-document/134372)

<div class="topic-metadata">

**Author:** [@maltee1](https://discourse.julialang.org/u/maltee1)\
**Replies:** 6\
**Last updated:** [December 15, 2025, 12:19pm UTC](https://discourse.julialang.org/t/pythonplot-let-latex-render-text-in-final-document/134372 "2025-12-15T12:19:04Z")

</div>

I would like to better integrate my plots into a LaTeX document. I know about PGFPlots(X) and I really like the idea, unfortunately I could only really work with Py(thon)Plots so far, because of the lack of features in o…

---

## [Multiple dispatch example at/for julialang.org](https://discourse.julialang.org/t/multiple-dispatch-example-at-for-julialang-org/134537)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 8\
**Last updated:** [December 14, 2025, 9:23pm UTC](https://discourse.julialang.org/t/multiple-dispatch-example-at-for-julialang-org/134537 "2025-12-14T21:23:29Z")

</div>

I think I understand multiple dispatch, but the example there is seemingly only single dispatch. People already think multiple dispatch is just the same as overloading, so which example might show it off better, and is a…

---

## [How to cleanup artifacts folder](https://discourse.julialang.org/t/how-to-cleanup-artifacts-folder/101277)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 7\
**Last updated:** [December 14, 2025, 7:00pm UTC](https://discourse.julialang.org/t/how-to-cleanup-artifacts-folder/101277 "2025-12-14T19:00:05Z")

</div>

I recently noticed that my home folder is occupying 89% of my SSD because of .julia/artifacts: How to clean up this folder and start fresh? I just want to keep the global environments I’ve defined and the dev’ed pack…

---

## [Static call at runtime](https://discourse.julialang.org/t/static-call-at-runtime/134516)

<div class="topic-metadata">

**Author:** [@epilliat](https://discourse.julialang.org/u/epilliat)\
**Replies:** 7\
**Last updated:** [December 14, 2025, 9:55am UTC](https://discourse.julialang.org/t/static-call-at-runtime/134516 "2025-12-14T09:55:56Z")

</div>

This problem comes from several pieces of code I’ve been struggling to optimize due to missunderstanding of Julia compiler. I would like to know if there are any “standard” way to do this. Consider a function f that doe…

---

## [Is anyone using 32-bit Julia on Windows?](https://discourse.julialang.org/t/is-anyone-using-32-bit-julia-on-windows/89525)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 25\
**Last updated:** [December 13, 2025, 4:32pm UTC](https://discourse.julialang.org/t/is-anyone-using-32-bit-julia-on-windows/89525 "2025-12-13T16:32:24Z")

</div>

I don’t see much reason to keep that dying platform around, and think it would help it it were retired (but not (yet) 32-bit Linux). I see work on Julia seemingly blocked on it (getting rid of libm, otherwise done, or a…

---

## [Solving PDE on the sphere](https://discourse.julialang.org/t/solving-pde-on-the-sphere/134513)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 5\
**Last updated:** [December 13, 2025, 3:25pm UTC](https://discourse.julialang.org/t/solving-pde-on-the-sphere/134513 "2025-12-13T15:25:19Z")

</div>

Hi, I would like to study some PDEs on the sphere and compute the spectrum of infinitesimal generator of Markov processes. It seems that HarmonicOrthogonalPolynomials is a very good start because it provides that Laplac…

---

## [Differentiating expressions with both Symbolic arrays and Symbolic variables](https://discourse.julialang.org/t/differentiating-expressions-with-both-symbolic-arrays-and-symbolic-variables/134522)

<div class="topic-metadata">

**Author:** [@chenwilliam77](https://discourse.julialang.org/u/chenwilliam77)\
**Replies:** 2\
**Last updated:** [December 12, 2025, 11:17pm UTC](https://discourse.julialang.org/t/differentiating-expressions-with-both-symbolic-arrays-and-symbolic-variables/134522 "2025-12-12T23:17:13Z")

</div>

Here’s a MWE of what I want to work but doesn’t. using Symbolics K = 3 @variables M\[1:K, 1:K\] x1 = Symbolics.variables(:x1, 1:K) x2 = Symbolics.variables(:x2, 1:K) result = vcat(M \* x1, M \* x2) Jx1 = Symbolics.jacobian…

---

## [Is CSV in Julia 1.12 (kind of) stdlib?](https://discourse.julialang.org/t/is-csv-in-julia-1-12-kind-of-stdlib/134525)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 4\
**Last updated:** [December 12, 2025, 9:40pm UTC](https://discourse.julialang.org/t/is-csv-in-julia-1-12-kind-of-stdlib/134525 "2025-12-12T21:40:35Z")

</div>

Calling using CSV does not result in an error, even in a frish session and though I do not have CSV.jl in my default environment. With v1.10 and v1.11 it errors as expected. I have same, and quite minimal, default enviro…

---

## [Understanding memory usage in Julia](https://discourse.julialang.org/t/understanding-memory-usage-in-julia/101647)

<div class="topic-metadata">

**Author:** [@Andrea\_Vigliotti](https://discourse.julialang.org/u/Andrea_Vigliotti)\
**Replies:** 23\
**Last updated:** [December 12, 2025, 4:30pm UTC](https://discourse.julialang.org/t/understanding-memory-usage-in-julia/101647 "2025-12-12T16:30:39Z")

</div>

I am working on a finite element program that solves a non linear problem by incrementing the boundary conditions, that means that from time to time I need to assemble some quite large stiffness matrices (\\approx 350k \\t…

---

## [Improving Base.mapreduce by 20% on vectors](https://discourse.julialang.org/t/improving-base-mapreduce-by-20-on-vectors/134478)

<div class="topic-metadata">

**Author:** [@epilliat](https://discourse.julialang.org/u/epilliat)\
**Replies:** 2\
**Last updated:** [December 12, 2025, 1:32pm UTC](https://discourse.julialang.org/t/improving-base-mapreduce-by-20-on-vectors/134478 "2025-12-12T13:32:17Z")

</div>

Hello everyone, I’ve been exploring reduction operations on GPUs recently, and this led me to investigate CPU performance as well. I discovered that we can improve mapreduce in Base while maintaining full precision for …

---

## [Continuing a periodic orbit with bifurcationkit from an orbit guess](https://discourse.julialang.org/t/continuing-a-periodic-orbit-with-bifurcationkit-from-an-orbit-guess/134506)

<div class="topic-metadata">

**Author:** [@ole-sc](https://discourse.julialang.org/u/ole-sc)\
**Replies:** 2\
**Last updated:** [December 12, 2025, 9:57am UTC](https://discourse.julialang.org/t/continuing-a-periodic-orbit-with-bifurcationkit-from-an-orbit-guess/134506 "2025-12-12T09:57:32Z")

</div>

I am trying to continue an unstable periodic orbit of a 3-dimensional ODE using BifurcationKit. I found the limit cycle using AUTO, so I know an initial condition on the periodic orbit and the period for some parameters. …

---

## [Progress monitor with notify syntax](https://discourse.julialang.org/t/progress-monitor-with-notify-syntax/134485)

<div class="topic-metadata">

**Author:** [@Janis\_Erdmanis](https://discourse.julialang.org/u/Janis_Erdmanis)\
**Replies:** 1\
**Last updated:** [December 12, 2025, 5:28am UTC](https://discourse.julialang.org/t/progress-monitor-with-notify-syntax/134485 "2025-12-12T05:28:59Z")

</div>

I am exploring the addition of a progress meter for AppBundler.jl and am looking into a minimally invasive method. I would like a progress meter that displays all steps in advance, shows a running timer or time indicator…

---

## [How unique are \`gensym\` symbols?](https://discourse.julialang.org/t/how-unique-are-gensym-symbols/134509)

<div class="topic-metadata">

**Author:** [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Replies:** 2\
**Last updated:** [December 12, 2025, 12:54am UTC](https://discourse.julialang.org/t/how-unique-are-gensym-symbols/134509 "2025-12-12T00:54:49Z")

</div>

The documentation for gensym says that this function generates a symbol which will not conflict with other variable names (in the same module). When playing around with it, I get the impression that the symbols are a…

---

## [Performance challenge: can you write a faster sum?](https://discourse.julialang.org/t/performance-challenge-can-you-write-a-faster-sum/130456)

<div class="topic-metadata">

**Author:** [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Replies:** 32\
**Last updated:** [December 11, 2025, 10:03pm UTC](https://discourse.julialang.org/t/performance-challenge-can-you-write-a-faster-sum/130456 "2025-12-11T22:03:55Z")

</div>

OK, I’ve been fiddling with this on and off for a month now, but I’m curious if anyone can do better. Here’s the challenge: write a single generic implementation of sum(A) such that it’s fast for both A = rand(10000) an…

---

## [Thread-safety of SparseArray](https://discourse.julialang.org/t/thread-safety-of-sparsearray/134468)

<div class="topic-metadata">

**Author:** [@songjhaha](https://discourse.julialang.org/u/songjhaha)\
**Replies:** 5\
**Last updated:** [December 10, 2025, 9:42pm UTC](https://discourse.julialang.org/t/thread-safety-of-sparsearray/134468 "2025-12-10T21:42:42Z")

</div>

The setindex! op of SparseArray is not thread-safe. There is a MWE: function foo(x::AbstractArray) y = similar(x) Threads.@threads for i = 1:length(x) y\[i\] = cos(x\[i\]) end end using SparseArrays x = …

---

## [A curated list of GH actions that improve the quality of your package](https://discourse.julialang.org/t/a-curated-list-of-gh-actions-that-improve-the-quality-of-your-package/134466)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 10\
**Last updated:** [December 10, 2025, 8:43pm UTC](https://discourse.julialang.org/t/a-curated-list-of-gh-actions-that-improve-the-quality-of-your-package/134466 "2025-12-10T20:43:52Z")

</div>

I recently looked at the new SolarPosition.jl package and was impressed by the GH Actions that helped improve its quality. This got me wondering if there’s a maintained, opinionated, and complete list of quality-improvem…

---

## [Help - not so zero-cost abstraction](https://discourse.julialang.org/t/help-not-so-zero-cost-abstraction/134435)

<div class="topic-metadata">

**Author:** [@anicusan](https://discourse.julialang.org/u/anicusan)\
**Replies:** 11\
**Last updated:** [December 10, 2025, 7:30pm UTC](https://discourse.julialang.org/t/help-not-so-zero-cost-abstraction/134435 "2025-12-10T19:30:18Z")

</div>

My problem is about an interface, and how to get the compiler to optimise it away. Say I have a Matrix with 6 rows and N columns - rows 1-3 represent position and rows 4-6 are velocity; each column is a body in a simula…

---

## [AlgebraOfGraphics documentation frustrations](https://discourse.julialang.org/t/algebraofgraphics-documentation-frustrations/133903)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 46\
**Last updated:** [December 10, 2025, 12:32pm UTC](https://discourse.julialang.org/t/algebraofgraphics-documentation-frustrations/133903 "2025-12-10T12:32:43Z")

</div>

After undertaking one more attempt to wrap my head around AlgebraOfGraphics I started to suspect the problem is not only me being stupid, lazy, and unable to abstract logical thinking. Ok, please help me to make some si…

---

## [Self-inflicted type proliferation](https://discourse.julialang.org/t/self-inflicted-type-proliferation/134450)

<div class="topic-metadata">

**Author:** [@nilsbecker](https://discourse.julialang.org/u/nilsbecker)\
**Replies:** 3\
**Last updated:** [December 10, 2025, 8:34am UTC](https://discourse.julialang.org/t/self-inflicted-type-proliferation/134450 "2025-12-10T08:34:02Z")

</div>

I have the feeling I’m overdoing it / not doing the right thing with types. I’m wrapping ODESolutions coming from OrdinaryDifferentialEquations for downstream use like this: struct SolSR\_FS{T\<:Real,O,B} \<: SolSR sol::…

---

## [Generating Script from Julia: Incorrect Dates Appearing in Microsoft One Drive](https://discourse.julialang.org/t/generating-script-from-julia-incorrect-dates-appearing-in-microsoft-one-drive/134437)

<div class="topic-metadata">

**Author:** [@GGo](https://discourse.julialang.org/u/GGo)\
**Replies:** 17\
**Last updated:** [December 9, 2025, 10:19pm UTC](https://discourse.julialang.org/t/generating-script-from-julia-incorrect-dates-appearing-in-microsoft-one-drive/134437 "2025-12-09T22:19:42Z")

</div>

I am generating a report in an excel format based upon a script within Julia. However, when the output in a file is uploaded onto One Drive, the date created and modified are incorrect, sometimes a few years out. Could …

---

## [Using custom gradient function with Optimization.jl](https://discourse.julialang.org/t/using-custom-gradient-function-with-optimization-jl/134391)

<div class="topic-metadata">

**Author:** [@dameka](https://discourse.julialang.org/u/dameka)\
**Replies:** 1\
**Last updated:** [December 9, 2025, 4:07pm UTC](https://discourse.julialang.org/t/using-custom-gradient-function-with-optimization-jl/134391 "2025-12-09T16:07:34Z")

</div>

I have implemented a multithreaded version of a scientific ML problem I’m solving. Each thread computes a loss and gradient via Enzyme, and these are recombined by weighted averaging. I’ve verified I’m getting the correc…

---

## [New 2025/2026 event for Bayesian Data Analysis Meetup](https://discourse.julialang.org/t/new-2025-2026-event-for-bayesian-data-analysis-meetup/134452)

<div class="topic-metadata">

**Author:** [@bparbhu](https://discourse.julialang.org/u/bparbhu)\
**Replies:** 0\
**Last updated:** [December 9, 2025, 3:31pm UTC](https://discourse.julialang.org/t/new-2025-2026-event-for-bayesian-data-analysis-meetup/134452 "2025-12-09T15:31:01Z")

</div>

Hey all, I hope all is well with everyone and as we round out the year something I’ve been talking about more lately is how do we deploy and get Bayesian models into production? Depending on the framework what are the …

---

## [@chaineach](https://discourse.julialang.org/t/chaineach/134423)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 12\
**Last updated:** [December 9, 2025, 12:10am UTC](https://discourse.julialang.org/t/chaineach/134423 "2025-12-09T00:10:13Z")

</div>

I’d like a macro @chaineach such that: @chaineach x begin #commands end is equivalent to map( y -\> @chain y begin #commands end, collect(x) ) Example usage is a @chain block processing a DataFrame and creati…

---

## [Extra line reduces run time by half, but why?](https://discourse.julialang.org/t/extra-line-reduces-run-time-by-half-but-why/134432)

<div class="topic-metadata">

**Author:** [@SneakyNewt](https://discourse.julialang.org/u/SneakyNewt)\
**Replies:** 3\
**Last updated:** [December 8, 2025, 3:50pm UTC](https://discourse.julialang.org/t/extra-line-reduces-run-time-by-half-but-why/134432 "2025-12-08T15:50:42Z")

</div>

From Advent of Code Day 7, so be warned for spoilers. I created my solution and found weird behaviors where running other functions/lines made the rest of my code run far faster, but wasn’t sure why. After a very tediou…

---

## [Solving A·u = b over a Laurent polynomial ring](https://discourse.julialang.org/t/solving-a-u-b-over-a-laurent-polynomial-ring/134428)

<div class="topic-metadata">

**Author:** [@nzy1997](https://discourse.julialang.org/u/nzy1997)\
**Replies:** 0\
**Last updated:** [December 8, 2025, 10:05am UTC](https://discourse.julialang.org/t/solving-a-u-b-over-a-laurent-polynomial-ring/134428 "2025-12-08T10:05:32Z")

</div>

Hi, I am trying to solve linear equations over a Laurent polynomial ring in Oscar/Julia. Given a matrix A and a right-hand side b over R = GF(p)\[x₁^{±1}, …, xₙ^{±1}\], I want to compute a vector u such that A \* u = b. M…

---

## [Multithreading non-contiguous mapreduction over huge matrices](https://discourse.julialang.org/t/multithreading-non-contiguous-mapreduction-over-huge-matrices/134413)

<div class="topic-metadata">

**Author:** [@noetheriankoala](https://discourse.julialang.org/u/noetheriankoala)\
**Replies:** 5\
**Last updated:** [December 8, 2025, 7:36am UTC](https://discourse.julialang.org/t/multithreading-non-contiguous-mapreduction-over-huge-matrices/134413 "2025-12-08T07:36:45Z")

</div>

Hello! A version of the following function is majorly bottle-necking a project I am working on and I could use help speeding it up. In all the below code, A is an k x n matrix, l is a length-n vector, and q is a length n…

---

## [FYI: Julia 1.12's REPL warns on non-owning, non-public qualified accesses](https://discourse.julialang.org/t/fyi-julia-1-12s-repl-warns-on-non-owning-non-public-qualified-accesses/134401)

<div class="topic-metadata">

**Author:** [@ericphanson](https://discourse.julialang.org/u/ericphanson)\
**Replies:** 5\
**Last updated:** [December 7, 2025, 10:30am UTC](https://discourse.julialang.org/t/fyi-julia-1-12s-repl-warns-on-non-owning-non-public-qualified-accesses/134401 "2025-12-07T10:30:01Z")

</div>

Some terminology: Qualified access: like Module.name, e.g. DataFrames.VERSION non-owning: VERSION is defined in Base, not in DataFrames non-public: VERSION is not marked public in DataFrames (it is public in Base) So …

---

## [\`@allocated\` vs \`@allocations\`](https://discourse.julialang.org/t/allocated-vs-allocations/134408)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 2\
**Last updated:** [December 7, 2025, 8:36am UTC](https://discourse.julialang.org/t/allocated-vs-allocations/134408 "2025-12-07T08:36:06Z")

</div>

Since 1.9, Julia has @allocations, which is A macro to evaluate an expression, discard the resulting value, and instead return the total number of allocations during evaluation of the expression. In contrast, @alloca…

---

## [Computing distances in Agents.jl](https://discourse.julialang.org/t/computing-distances-in-agents-jl/134375)

<div class="topic-metadata">

**Author:** [@Lucia\_Lopez](https://discourse.julialang.org/u/Lucia_Lopez)\
**Replies:** 3\
**Last updated:** [December 7, 2025, 3:37am UTC](https://discourse.julialang.org/t/computing-distances-in-agents-jl/134375 "2025-12-07T03:37:11Z")

</div>

In Agents.jl, is there a built-in method to compute the distance from an agent within a GridSpace that automatically uses the appropriate distance metric (consistent with the one specified during the space’s initializati…

[Previous page](https://discourse.julialang.org/c/usage/6.md?page=24)

[Next page](https://discourse.julialang.org/c/usage/6.md?page=26)
