# General Usage

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

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

**Page:** 16

---

## [Ignoring some files in coverage testing when github actions is taking care of continuous integration](https://discourse.julialang.org/t/ignoring-some-files-in-coverage-testing-when-github-actions-is-taking-care-of-continuous-integration/118847)

<div class="topic-metadata">

**Author:** [@Gus\_Hart](https://discourse.julialang.org/u/Gus_Hart)\
**Replies:** 2\
**Last updated:** [March 14, 2026, 11:29pm UTC](https://discourse.julialang.org/t/ignoring-some-files-in-coverage-testing-when-github-actions-is-taking-care-of-continuous-integration/118847 "2026-03-14T23:29:51Z")

</div>

I would like to skip the coverage testing (via codecov.io) for some of the files in a github repo. I’m using github actions to run workflows for continuous integration. The files I want to skip are not part of the primar…

---

## [Self-contained juliac demonstration](https://discourse.julialang.org/t/self-contained-juliac-demonstration/134366)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 15\
**Last updated:** [March 14, 2026, 5:29am UTC](https://discourse.julialang.org/t/self-contained-juliac-demonstration/134366 "2026-03-14T05:29:34Z")

</div>

I was looking for a completely self-contained tutorial or demonstration on how to use the juliac command line from JuliaC.jl and did not find one. I created this short demonstration below. Steps Step 1: Install Julia 1.…

---

## [Residuals from \`StateSpaceModels.jl\`'s auto\_arima](https://discourse.julialang.org/t/residuals-from-statespacemodels-jl-s-auto-arima/92477)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Zepeda](https://discourse.julialang.org/u/Rodrigo_Zepeda)\
**Replies:** 1\
**Last updated:** [March 14, 2026, 3:33am UTC](https://discourse.julialang.org/t/residuals-from-statespacemodels-jl-s-auto-arima/92477 "2026-03-14T03:33:26Z")

</div>

Hi! I’ve been exploring StateSpaceModels.jl for fitting some time series using auto\_arima. However I’ve run into an issue which might be pretty basic: Is there a way in which one can get the residuals from the fitted mod…

---

## [How to nest ProgressMeter.jl meters?](https://discourse.julialang.org/t/how-to-nest-progressmeter-jl-meters/136179)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 2\
**Last updated:** [March 13, 2026, 4:58pm UTC](https://discourse.julialang.org/t/how-to-nest-progressmeter-jl-meters/136179 "2026-03-13T16:58:37Z")

</div>

I have a function that takes a couple of hours to run. It operates over a for loop and I have a progress meter from ProgressMeter.jl assigned to it. In the for loop I call another function, that takes about 10 minutes to…

---

## [Adding Amazon Datasets to MLDatasets.jl](https://discourse.julialang.org/t/adding-amazon-datasets-to-mldatasets-jl/136154)

<div class="topic-metadata">

**Author:** [@Uneeb\_Hasan](https://discourse.julialang.org/u/Uneeb_Hasan)\
**Replies:** 3\
**Last updated:** [March 13, 2026, 4:07pm UTC](https://discourse.julialang.org/t/adding-amazon-datasets-to-mldatasets-jl/136154 "2026-03-13T16:07:54Z")

</div>

Hi everyone, I’m new to contributing to the Julia developer community on GitHub, although I’ve been using Julia for some time. I recently opened my first pull request to MLDatasets.jl to add a dataset, and I wanted to b…

---

## [PlotlyJS function to plot with up to 4 Y-axes](https://discourse.julialang.org/t/plotlyjs-function-to-plot-with-up-to-4-y-axes/136184)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 0\
**Last updated:** [March 13, 2026, 1:42pm UTC](https://discourse.julialang.org/t/plotlyjs-function-to-plot-with-up-to-4-y-axes/136184 "2026-03-13T13:42:10Z")

</div>

Below an idea for a PlotlyJS-based user defined plotting function. The function can be called with an x-vector and an y-vector/-array. And it can handle up to 4-y-axes as well. I am happy about comments. """ pri…

---

## [Is Claude right on this (a cache size growing analysis)?](https://discourse.julialang.org/t/is-claude-right-on-this-a-cache-size-growing-analysis/135688)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 16\
**Last updated:** [March 13, 2026, 1:19pm UTC](https://discourse.julialang.org/t/is-claude-right-on-this-a-cache-size-growing-analysis/135688 "2026-03-13T13:19:03Z")

</div>

I have been asking Clade to investigate why cache sizes grow so much with with not so much precompiled code. I’m showing here the results of a smaller example (but I have one where “acusations” are heavier when trying to…

---

## [Numpy vs Julia matrix multiplication](https://discourse.julialang.org/t/numpy-vs-julia-matrix-multiplication/135992)

<div class="topic-metadata">

**Author:** [@bernardofpc](https://discourse.julialang.org/u/bernardofpc)\
**Replies:** 7\
**Last updated:** [March 13, 2026, 7:42am UTC](https://discourse.julialang.org/t/numpy-vs-julia-matrix-multiplication/135992 "2026-03-13T07:42:30Z")

</div>

I have performed two very simple tests in numpy and julia, and have obtained what I believe are significant differences in performance. This is on Windows 11, CPU: 28 × Intel(R) Core™ i7-14700. Numpy (python 3.12.7): I…

---

## [For loop with variable range so slow](https://discourse.julialang.org/t/for-loop-with-variable-range-so-slow/136149)

<div class="topic-metadata">

**Author:** [@kila\_suelika](https://discourse.julialang.org/u/kila_suelika)\
**Replies:** 17\
**Last updated:** [March 13, 2026, 12:49am UTC](https://discourse.julialang.org/t/for-loop-with-variable-range-so-slow/136149 "2026-03-13T00:49:54Z")

</div>

Recent I find my julia program cost 3.7s for each iteration while c++ only use 0.022s. By test I find for loop with variable range seems make program slow. using SQLite, DataFrames, Statistics, Serialization, Dates, Pri…

---

## [Problems with Generating Call Graphs](https://discourse.julialang.org/t/problems-with-generating-call-graphs/136125)

<div class="topic-metadata">

**Author:** [@mcbro](https://discourse.julialang.org/u/mcbro)\
**Replies:** 3\
**Last updated:** [March 12, 2026, 11:05am UTC](https://discourse.julialang.org/t/problems-with-generating-call-graphs/136125 "2026-03-12T11:05:58Z")

</div>

I thought there were tools for doing this in Julia 1.12.5, namely tracing the calls to every function from another function, but I’m stumped so far. The package TraceGraph will not compile due to the use of deprecated …

---

## [Is there any way one could define a method to accept both Functions and Functors?](https://discourse.julialang.org/t/is-there-any-way-one-could-define-a-method-to-accept-both-functions-and-functors/136159)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 3\
**Last updated:** [March 12, 2026, 1:09am UTC](https://discourse.julialang.org/t/is-there-any-way-one-could-define-a-method-to-accept-both-functions-and-functors/136159 "2026-03-12T01:09:15Z")

</div>

That is, without a Union. I still would like the function to be typed. So I don’t see g(f, a) = let f(a) end as a solution (f should be typed).

---

## [Error with runtest.jl and Aqua](https://discourse.julialang.org/t/error-with-runtest-jl-and-aqua/136103)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 4\
**Last updated:** [March 12, 2026, 1:00am UTC](https://discourse.julialang.org/t/error-with-runtest-jl-and-aqua/136103 "2026-03-12T01:00:37Z")

</div>

Using VSCode I right click on runtests.jl and select Julia: Execute File in REPL. I obtain the following error and then try a few more commands as follows: ERROR: LoadError: ArgumentError: Package Aqua not found in cur…

---

## [My simulations are suddenly 5-10 times faster. Why?](https://discourse.julialang.org/t/my-simulations-are-suddenly-5-10-times-faster-why/136156)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [March 11, 2026, 7:36pm UTC](https://discourse.julialang.org/t/my-simulations-are-suddenly-5-10-times-faster-why/136156 "2026-03-11T19:36:40Z")

</div>

I am running a simulation with about 70 states that uses the DFBDF implicit solver. See: KiteModels.jl/examples/bench\_4p.jl at main · OpenSourceAWE/KiteModels.jl · GitHub Recently, I noticed a 5-10x increase in performa…

---

## [Parallelization in Julia vs C++](https://discourse.julialang.org/t/parallelization-in-julia-vs-c/136083)

<div class="topic-metadata">

**Author:** [@Rkiefe](https://discourse.julialang.org/u/Rkiefe)\
**Replies:** 21\
**Last updated:** [March 11, 2026, 1:04pm UTC](https://discourse.julialang.org/t/parallelization-in-julia-vs-c/136083 "2026-03-11T13:04:01Z")

</div>

Do you tend to have problems parallelizing thousands of fast computations over a large matrix? I’m going to show a Julia and then a C++ version of the code snippet. I get a lot more performance benefits from parallelizat…

---

## [Running multithreaded program disconnects my ssh connection](https://discourse.julialang.org/t/running-multithreaded-program-disconnects-my-ssh-connection/135825)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 2\
**Last updated:** [March 11, 2026, 7:24am UTC](https://discourse.julialang.org/t/running-multithreaded-program-disconnects-my-ssh-connection/135825 "2026-03-11T07:24:54Z")

</div>

Hi, friends My coding style is to typing on a Windows laptop while the real work is done by a Linux machine (Ubuntu server, the standard OS). To build a network connection, I use the ssh function provided by VSCode (the…

---

## [Julia takes up a lot of space on my disk - what can be cleaned?](https://discourse.julialang.org/t/julia-takes-up-a-lot-of-space-on-my-disk-what-can-be-cleaned/136102)

<div class="topic-metadata">

**Author:** [@amca01](https://discourse.julialang.org/u/amca01)\
**Replies:** 6\
**Last updated:** [March 11, 2026, 4:05am UTC](https://discourse.julialang.org/t/julia-takes-up-a-lot-of-space-on-my-disk-what-can-be-cleaned/136102 "2026-03-11T04:05:11Z")

</div>

Specifically, in the ~/.julia directory of my home directory, I have these vast collections (as given by ncdu): 4.9 GiB \[################\] /artifacts …

---

## [Multithreading on Apple M5 chips](https://discourse.julialang.org/t/multithreading-on-apple-m5-chips/136109)

<div class="topic-metadata">

**Author:** [@chrisnekarda](https://discourse.julialang.org/u/chrisnekarda)\
**Replies:** 4\
**Last updated:** [March 11, 2026, 12:37am UTC](https://discourse.julialang.org/t/multithreading-on-apple-m5-chips/136109 "2026-03-11T00:37:28Z")

</div>

I’m considering upgrading to the new Apple M5-series hardware and have a question regarding how Julia will handle the new core tiers. Previous generations of Apple Silicon had two types of cores, “performance” (P-cores)…

---

## [Why do \`@allocated\` and \`Profile.Allocs.@profile\` give different results?](https://discourse.julialang.org/t/why-do-allocated-and-profile-allocs-profile-give-different-results/134956)

<div class="topic-metadata">

**Author:** [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Replies:** 1\
**Last updated:** [March 10, 2026, 2:52pm UTC](https://discourse.julialang.org/t/why-do-allocated-and-profile-allocs-profile-give-different-results/134956 "2026-03-10T14:52:52Z")

</div>

The number of allocations reported by Profile.Allocs.@profile agrees with @allocations, but the total number of bytes allocated differs from @allocated for some reason: using Profile.Allocs f(n) = sum(2\*collect(1:n)) …

---

## [ProfileView crashes when showing a garbage collector tab](https://discourse.julialang.org/t/profileview-crashes-when-showing-a-garbage-collector-tab/136112)

<div class="topic-metadata">

**Author:** [@phma](https://discourse.julialang.org/u/phma)\
**Replies:** 0\
**Last updated:** [March 10, 2026, 4:13am UTC](https://discourse.julialang.org/t/profileview-crashes-when-showing-a-garbage-collector-tab/136112 "2026-03-10T04:13:07Z")

</div>

I’m profiling a process that I calculated should take a little over two minutes (just counting the sleeps) to find out why it actually takes ten minutes. I run @profview on it; some minutes later a window appears. The wi…

---

## [How do I make a driver?](https://discourse.julialang.org/t/how-do-i-make-a-driver/136095)

<div class="topic-metadata">

**Author:** [@phma](https://discourse.julialang.org/u/phma)\
**Replies:** 16\
**Last updated:** [March 9, 2026, 10:59pm UTC](https://discourse.julialang.org/t/how-do-i-make-a-driver/136095 "2026-03-09T22:59:33Z")

</div>

I have a main program. It will load any one of various drivers (plugins?), depending on a configuration file. Each driver will operate a hardware device or accept files from the outside. The drivers have to be all listed…

---

## [Improving the fastest pure-Julia cryptographic hash!](https://discourse.julialang.org/t/improving-the-fastest-pure-julia-cryptographic-hash/104386)

<div class="topic-metadata">

**Author:** [@tecosaur](https://discourse.julialang.org/u/tecosaur)\
**Replies:** 4\
**Last updated:** [March 8, 2026, 11:08pm UTC](https://discourse.julialang.org/t/improving-the-fastest-pure-julia-cryptographic-hash/104386 "2026-03-08T23:08:59Z")

</div>

Hi All! For another project of mine, I wanted a good fast hash that wasn’t trivial to mock. After an excessive amount of investigation, I’ve settled on KangarooTwelve. To quote the project readme, I think it strikes a r…

---

## [Testing for warnings emitted at macro expansion time](https://discourse.julialang.org/t/testing-for-warnings-emitted-at-macro-expansion-time/136091)

<div class="topic-metadata">

**Author:** [@impact-basin](https://discourse.julialang.org/u/impact-basin)\
**Replies:** 2\
**Last updated:** [March 8, 2026, 9:07pm UTC](https://discourse.julialang.org/t/testing-for-warnings-emitted-at-macro-expansion-time/136091 "2026-03-08T21:07:56Z")

</div>

Hi all, I’m working on some macros for PikaParser.jl grammars (very WIP!), and I had a question regarding their testing. One thing I’m trying to do is build the grammar at macro-time; this allows us to return a lambda …

---

## [What Makie (or GLMakie) version to install?](https://discourse.julialang.org/t/what-makie-or-glmakie-version-to-install/136066)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 9\
**Last updated:** [March 8, 2026, 12:02am UTC](https://discourse.julialang.org/t/what-makie-or-glmakie-version-to-install/136066 "2026-03-08T00:02:12Z")

</div>

I find confusing, now, the organization of the Makie ecosystem. I’m using GLMakie for a package. What should I install? Which version? Makie has had many breaking versions since my last update, and is now in 0.24.9, but …

---

## [Using Base.llvmcall for cross language LTO](https://discourse.julialang.org/t/using-base-llvmcall-for-cross-language-lto/136082)

<div class="topic-metadata">

**Author:** [@obsidianjulua](https://discourse.julialang.org/u/obsidianjulua)\
**Replies:** 5\
**Last updated:** [March 7, 2026, 7:41pm UTC](https://discourse.julialang.org/t/using-base-llvmcall-for-cross-language-lto/136082 "2026-03-07T19:41:31Z")

</div>

So I use a custom c abi with mlir 21.1.8 for the newer jit features not present in MLIR.jl and when using llvmcall for the saved jit thunks I get a version mismatch in the IR, i tried sanitizing the unknown features from…

---

## [Sysimage creation process gets OOM killed (out-of-memory)](https://discourse.julialang.org/t/sysimage-creation-process-gets-oom-killed-out-of-memory/136079)

<div class="topic-metadata">

**Author:** [@Abhro](https://discourse.julialang.org/u/Abhro)\
**Replies:** 3\
**Last updated:** [March 7, 2026, 3:15pm UTC](https://discourse.julialang.org/t/sysimage-creation-process-gets-oom-killed-out-of-memory/136079 "2026-03-07T15:15:40Z")

</div>

When I try to create a sysimage with Makie in it (or maybe any other heavy package, Makie’s the only one I’ve noticed), the create\_sysimage() call gets to the “Compiling incremental sysimage” stage, then crashes, also ex…

---

## [Is there any advantage of directly using \`Memory{T}\` over a traditional Array?](https://discourse.julialang.org/t/is-there-any-advantage-of-directly-using-memory-t-over-a-traditional-array/136062)

<div class="topic-metadata">

**Author:** [@pmc4](https://discourse.julialang.org/u/pmc4)\
**Replies:** 13\
**Last updated:** [March 7, 2026, 8:46am UTC](https://discourse.julialang.org/t/is-there-any-advantage-of-directly-using-memory-t-over-a-traditional-array/136062 "2026-03-07T08:46:23Z")

</div>

Hi, everyone. Correct me if I’m wrong, please: I understand that an Array is implemented via a MemoryRef which contains a Memory object, with supertype DenseArray. When an array is created, some memory is allocated. Me…

---

## [PlotlyJS: plot multiple times in the same display window?](https://discourse.julialang.org/t/plotlyjs-plot-multiple-times-in-the-same-display-window/135958)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 3\
**Last updated:** [March 6, 2026, 5:42pm UTC](https://discourse.julialang.org/t/plotlyjs-plot-multiple-times-in-the-same-display-window/135958 "2026-03-06T17:42:00Z")

</div>

Package specific question. Package: PlotlyJS Question: Hi, Is it possible, to plot multiple times in the same plot window? Similar to the Plots-behaviour / GKS QtTerm. Regards, Stefan

---

## [Several Compilation errors and continuous recompilation issue](https://discourse.julialang.org/t/several-compilation-errors-and-continuous-recompilation-issue/135894)

<div class="topic-metadata">

**Author:** [@simon79](https://discourse.julialang.org/u/simon79)\
**Replies:** 6\
**Last updated:** [March 6, 2026, 2:18pm UTC](https://discourse.julialang.org/t/several-compilation-errors-and-continuous-recompilation-issue/135894 "2026-03-06T14:18:59Z")

</div>

Hi all, I have been using (Ordinary)DifferentialEquations.jl for a few years without issues. As of today, after an update, a very long list of errors is generated which there seems to be no way to resolve. I paste only …

---

## [Module X with build ID Y is missing from the cache. This may mean X \[Z\] does not support precompilation but is imported by a module that does](https://discourse.julialang.org/t/module-x-with-build-id-y-is-missing-from-the-cache-this-may-mean-x-z-does-not-support-precompilation-but-is-imported-by-a-module-that-does/136043)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 6\
**Last updated:** [March 6, 2026, 12:15pm UTC](https://discourse.julialang.org/t/module-x-with-build-id-y-is-missing-from-the-cache-this-may-mean-x-z-does-not-support-precompilation-but-is-imported-by-a-module-that-does/136043 "2026-03-06T12:15:31Z")

</div>

Hi, I keep getting errors of the type “Module X with build ID Y is missing from the cache. This may mean X \[Z\] does not support precompilation but is imported by a module that does”. I’m on v1.10.4 as this is what my HP…

---

## [Fastest way to define high-level functions in a text file and use them in Julia after processing?](https://discourse.julialang.org/t/fastest-way-to-define-high-level-functions-in-a-text-file-and-use-them-in-julia-after-processing/136061)

<div class="topic-metadata">

**Author:** [@abhinavr](https://discourse.julialang.org/u/abhinavr)\
**Replies:** 2\
**Last updated:** [March 6, 2026, 11:50am UTC](https://discourse.julialang.org/t/fastest-way-to-define-high-level-functions-in-a-text-file-and-use-them-in-julia-after-processing/136061 "2026-03-06T11:50:14Z")

</div>

I’m trying to design a system where users write function definitions in a .txt file, using some higher-level or simplified syntax. Then, in my Julia code, I want to read that file, process/parse those definitions, and us…

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

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