# General Usage

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

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

**Page:** 2

---

## [FlexUnits |\> Simplify: extended capability suggestion](https://discourse.julialang.org/t/flexunits-simplify-extended-capability-suggestion/139367)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 4\
**Last updated:** [September 11, 2026, 6:04pm UTC](https://discourse.julialang.org/t/flexunits-simplify-extended-capability-suggestion/139367 "2026-09-11T18:04:59Z")

</div>

A bit of background, I first started using MathCad around 1993. This was the way I became familiar with units aware calculation software. A big step up from spreadsheets! Let me walk you through an example. Here := i…

---

## [Packages for colored REPL output?](https://discourse.julialang.org/t/packages-for-colored-repl-output/132925)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 1\
**Last updated:** [September 11, 2026, 2:22pm UTC](https://discourse.julialang.org/t/packages-for-colored-repl-output/132925 "2026-09-11T14:22:52Z")

</div>

I use OhMyREPL.jl for colored input, but it doesn’t do any coloring of the output. I am consistently missing the “e” in my calculation outputs (e.g. 5.105088062083414e6) since I only care about 3-5 significant digits and…

---

## [Package installation includes unnecessary docs files](https://discourse.julialang.org/t/package-installation-includes-unnecessary-docs-files/139342)

<div class="topic-metadata">

**Author:** [@arnaud-ma](https://discourse.julialang.org/u/arnaud-ma)\
**Replies:** 3\
**Last updated:** [September 11, 2026, 7:06am UTC](https://discourse.julialang.org/t/package-installation-includes-unnecessary-docs-files/139342 "2026-09-11T07:06:37Z")

</div>

I just installed Extremes.jl (Julia 1.13.0) and the size of ~/.julia/package/Extremes is 120Mio just because of the docs folder which contains big files (useless to me). I don’t really plan to use this package but this…

---

## [What is the current best practice to fix a broken package install?](https://discourse.julialang.org/t/what-is-the-current-best-practice-to-fix-a-broken-package-install/139320)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 5\
**Last updated:** [September 10, 2026, 8:47pm UTC](https://discourse.julialang.org/t/what-is-the-current-best-practice-to-fix-a-broken-package-install/139320 "2026-09-10T20:47:38Z")

</div>

Haven’t run into this personally yet, but it’s been on my mind. Say Package@v1.2.3 is not working properly in a given environment, but I do not know why and want to reinstall it and its dependencies in case a file got co…

---

## [Idiomatic Julia code in AI generated code](https://discourse.julialang.org/t/idiomatic-julia-code-in-ai-generated-code/139183)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 20\
**Last updated:** [September 10, 2026, 6:36pm UTC](https://discourse.julialang.org/t/idiomatic-julia-code-in-ai-generated-code/139183 "2026-09-10T18:36:22Z")

</div>

I find AI coding tools such as Claude Code incredibly useful, especially when combined with tools like Kaimon.jl. However, I also find that the code they generate is often surprisingly non-idiomatic Julia. Beyond aesthe…

---

## [Easier way to replace templates in Franklin.jl?](https://discourse.julialang.org/t/easier-way-to-replace-templates-in-franklin-jl/87322)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 3\
**Last updated:** [September 10, 2026, 4:21pm UTC](https://discourse.julialang.org/t/easier-way-to-replace-templates-in-franklin-jl/87322 "2026-09-10T16:21:07Z")

</div>

I am trynig to test various templates for my website generated by Franklin.jl. Currently I am doing this by newsite("\<top directory\>", template="\<new template name\>"), but this seems to overwrite the top directory, whic…

---

## [Adding the package to its workspaces](https://discourse.julialang.org/t/adding-the-package-to-its-workspaces/139331)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 13\
**Last updated:** [September 10, 2026, 2:43pm UTC](https://discourse.julialang.org/t/adding-the-package-to-its-workspaces/139331 "2026-09-10T14:43:44Z")

</div>

I am looking into the workspaces feature, but have trouble understanding what is the correct way to add the package to its workspace einvironment: dev or add. For example, in the Pkg.jl manual, it is suggested to add th…

---

## [Julia 1.13.0 startup \`SearchState\` error on startup when OhMyREPL is installed](https://discourse.julialang.org/t/julia-1-13-0-startup-searchstate-error-on-startup-when-ohmyrepl-is-installed/139330)

<div class="topic-metadata">

**Author:** [@Roger\_Powell](https://discourse.julialang.org/u/Roger_Powell)\
**Replies:** 6\
**Last updated:** [September 10, 2026, 1:15pm UTC](https://discourse.julialang.org/t/julia-1-13-0-startup-searchstate-error-on-startup-when-ohmyrepl-is-installed/139330 "2026-09-10T13:15:52Z")

</div>

Error: Error in the keymap │ exception = │ UndefVarError: \`SearchState\` not defined in \`REPL.LineEdit\` I am aware that this has cropped up before some key bindings in repl .. It errors with or without using Termin…

---

## [How to install juliaup systemwide for all users (linux)?](https://discourse.julialang.org/t/how-to-install-juliaup-systemwide-for-all-users-linux/139270)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 10\
**Last updated:** [September 9, 2026, 2:59pm UTC](https://discourse.julialang.org/t/how-to-install-juliaup-systemwide-for-all-users-linux/139270 "2026-09-09T14:59:50Z")

</div>

If I want to install julia systemwide, I just add it somewhere accessible and sysmink julia to /usr/bin/julia. This works perfectly because then each user will have its own ~/.julia folder, but if I want juliaup systemw…

---

## [ModelingToolkit: Internal error in runtime](https://discourse.julialang.org/t/modelingtoolkit-internal-error-in-runtime/139291)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [September 9, 2026, 9:39am UTC](https://discourse.julialang.org/t/modelingtoolkit-internal-error-in-runtime/139291 "2026-09-09T09:39:43Z")

</div>

When creating a system image of Tethers.jl on Windows, I got this error: Precompiling packages finished. 503 dependencies successfully precompiled in 342 seconds. 26 already precompiled. 23 dependencies precompiled …

---

## [Help with Julia becoming better](https://discourse.julialang.org/t/help-with-julia-becoming-better/138564)

<div class="topic-metadata">

**Author:** [@parn4q](https://discourse.julialang.org/u/parn4q)\
**Replies:** 5\
**Last updated:** [September 9, 2026, 9:11am UTC](https://discourse.julialang.org/t/help-with-julia-becoming-better/138564 "2026-09-09T09:11:12Z")

</div>

All, I’m Andrew Ross, and I’m a 5th year phd student in statistics at the University of Missouri-Columbia. I’ve used Julia in my research, and I found it to be one of the most beautiful languages. As I’ve come to lear…

---

## [\[Omniscape\] Convergence error while trying to run it on almost any raster](https://discourse.julialang.org/t/omniscape-convergence-error-while-trying-to-run-it-on-almost-any-raster/138580)

<div class="topic-metadata">

**Author:** [@GimbalLock](https://discourse.julialang.org/u/GimbalLock)\
**Replies:** 6\
**Last updated:** [September 8, 2026, 11:03pm UTC](https://discourse.julialang.org/t/omniscape-convergence-error-while-trying-to-run-it-on-almost-any-raster/138580 "2026-09-08T23:03:56Z")

</div>

Hello, I am trying to run the Omniscape example given on its documentation page: Examples · Omniscape.jl When I get to the line where I actually start the Omniscape algorithm, it errors out with the message: “CG solver …

---

## [Region-based GC for Julia: worst event pause 4 ms → 55 µs](https://discourse.julialang.org/t/region-based-gc-for-julia-worst-event-pause-4-ms-55-s/139158)

<div class="topic-metadata">

**Author:** [@melevy](https://discourse.julialang.org/u/melevy)\
**Replies:** 8\
**Last updated:** [September 8, 2026, 5:58pm UTC](https://discourse.julialang.org/t/region-based-gc-for-julia-worst-event-pause-4-ms-55-s/139158 "2026-09-08T17:58:13Z")

</div>

I run discrete-event simulations that drive hardware in the loop, which means every event has a deadline of about 100 µs. Julia’s collector is fine on throughput but occasionally it stops the world for milliseconds, an…

---

## [Generating ConTeXt documents from Julia with multiple dispatch](https://discourse.julialang.org/t/generating-context-documents-from-julia-with-multiple-dispatch/139217)

<div class="topic-metadata">

**Author:** [@gxono](https://discourse.julialang.org/u/gxono)\
**Replies:** 2\
**Last updated:** [September 5, 2026, 11:27pm UTC](https://discourse.julialang.org/t/generating-context-documents-from-julia-with-multiple-dispatch/139217 "2026-09-05T23:27:38Z")

</div>

I built a Julia pipeline that processes survey data and produces a PDF report for each course: pull the data, build frequency tables and charts with CairoMakie, then compile the final report with ConTeXt. I already knew …

---

## [Autoload packages - an option?](https://discourse.julialang.org/t/autoload-packages-an-option/139219)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 5\
**Last updated:** [September 5, 2026, 9:28am UTC](https://discourse.julialang.org/t/autoload-packages-an-option/139219 "2026-09-05T09:28:36Z")

</div>

I am looking at WaterLily examples. I try to run one of thr example files, and get a load error asking me to add StaticArrays and Plots Julia file has: using WaterLily,StaticArrays,Plots I have already used Pkg to ins…

---

## [Moving a package to new repository](https://discourse.julialang.org/t/moving-a-package-to-new-repository/139213)

<div class="topic-metadata">

**Author:** [@aumpierre-unb](https://discourse.julialang.org/u/aumpierre-unb)\
**Replies:** 4\
**Last updated:** [September 4, 2026, 11:11pm UTC](https://discourse.julialang.org/t/moving-a-package-to-new-repository/139213 "2026-09-04T23:11:11Z")

</div>

I am trying to move my a package to a new repo. I sent a PR and after an identity confirmation step I was told that I “need to make all of the existing treehashes available in the new repo.” I have no clue what it means.…

---

## [Are there any good human experiences in reviewing AI-generated code?](https://discourse.julialang.org/t/are-there-any-good-human-experiences-in-reviewing-ai-generated-code/139207)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 4\
**Last updated:** [September 4, 2026, 5:50pm UTC](https://discourse.julialang.org/t/are-there-any-good-human-experiences-in-reviewing-ai-generated-code/139207 "2026-09-04T17:50:48Z")

</div>

How is the current level of acceptance of AI-generated code within the Julia community, as well as the entire programming community and academic community? Also, for the code generated by AI, is there any good experience…

---

## [API design help: Wrapping ITensorMPS structs and extending it to my package](https://discourse.julialang.org/t/api-design-help-wrapping-itensormps-structs-and-extending-it-to-my-package/139164)

<div class="topic-metadata">

**Author:** [@Gautameshwar](https://discourse.julialang.org/u/Gautameshwar)\
**Replies:** 2\
**Last updated:** [September 4, 2026, 2:36am UTC](https://discourse.julialang.org/t/api-design-help-wrapping-itensormps-structs-and-extending-it-to-my-package/139164 "2026-09-04T02:36:12Z")

</div>

Hi Julia community! I am currently developing a package, ProcessTensors.jl, that uses an MPS/MPO architecture to construct process tensors and simulate non-Markovian quantum dynamics. I built this package on top of the …

---

## [RFC: Proposal for estimating unique Julia clients without tracking](https://discourse.julialang.org/t/rfc-proposal-for-estimating-unique-julia-clients-without-tracking/138027)

<div class="topic-metadata">

**Author:** [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Replies:** 68\
**Last updated:** [September 3, 2026, 3:26am UTC](https://discourse.julialang.org/t/rfc-proposal-for-estimating-unique-julia-clients-without-tracking/138027 "2026-09-03T03:26:28Z")

</div>

I’ve written up a new protocol that would allow us to estimate how many unique Pkg clients there are for Julia and for each package in a way that doesn’t allow for tracking individual users. This works as a rough proxy f…

---

## [Error in the keymap: bug in Debugger](https://discourse.julialang.org/t/error-in-the-keymap-bug-in-debugger/139131)

<div class="topic-metadata">

**Author:** [@phma](https://discourse.julialang.org/u/phma)\
**Replies:** 5\
**Last updated:** [September 2, 2026, 8:40am UTC](https://discourse.julialang.org/t/error-in-the-keymap-bug-in-debugger/139131 "2026-09-02T08:40:20Z")

</div>

I just updated Julia on puma to 1.12.7, after updating kodkod to 1.12.7 with no problem. I then did instantiate, update, and resolve until it appeared to load a script without problem. I then ran cvtdeg("foo") (one of th…

---

## [NUTS algorithm in Turing.jl](https://discourse.julialang.org/t/nuts-algorithm-in-turing-jl/135592)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 7\
**Last updated:** [September 2, 2026, 3:52am UTC](https://discourse.julialang.org/t/nuts-algorithm-in-turing-jl/135592 "2026-09-02T03:52:43Z")

</div>

Dear all, Can someone explain to me that the n\_adapts in case NUTS algorithm NUTS(n\_adapts, δ) used in Turing sample function is number of iteration or number of accepted samples before main sampling? Because when I giv…

---

## [Julia 1.12.7 osx-64 builds now available on conda-forge](https://discourse.julialang.org/t/julia-1-12-7-osx-64-builds-now-available-on-conda-forge/139153)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 0\
**Last updated:** [September 2, 2026, 3:47am UTC](https://discourse.julialang.org/t/julia-1-12-7-osx-64-builds-now-available-on-conda-forge/139153 "2026-09-02T03:47:31Z")

</div>

The conda-forge osx-64 Julia builds stopped working around the beginning of 2026 with the last build being Julia 1.12.2 on December 12th, 2025. The conda-forge builds are (mostly) built from source. I was able to resolv…

---

## [HDF5.jl variable length string](https://discourse.julialang.org/t/hdf5-jl-variable-length-string/98808)

<div class="topic-metadata">

**Author:** [@thomaskroi1996](https://discourse.julialang.org/u/thomaskroi1996)\
**Replies:** 10\
**Last updated:** [April 4, 2024, 10:38pm UTC](https://discourse.julialang.org/t/hdf5-jl-variable-length-string/98808 "2024-04-04T22:38:46Z")

</div>

Hello everyone! I am currently trying to translate i python code to julia! What i am trying to do, broken down, is creating a dataset where dtype=“String”. I know that to do that in python you have to declare a special …

---

## [TestItems: debugger crashes in vscode](https://discourse.julialang.org/t/testitems-debugger-crashes-in-vscode/139126)

<div class="topic-metadata">

**Author:** [@stustd](https://discourse.julialang.org/u/stustd)\
**Replies:** 3\
**Last updated:** [September 1, 2026, 8:28pm UTC](https://discourse.julialang.org/t/testitems-debugger-crashes-in-vscode/139126 "2026-09-01T20:28:43Z")

</div>

I start the debugger on a @testitem that runs perfectly fine without debugger. Putting in a breakpoint (at some line in the @testset) and then trying to debug causes the debugger to crash: \[ Info: Julia test item proces…

---

## [Auto-convert Vector{Type} to special container type](https://discourse.julialang.org/t/auto-convert-vector-type-to-special-container-type/139045)

<div class="topic-metadata">

**Author:** [@pekuntzpuglia](https://discourse.julialang.org/u/pekuntzpuglia)\
**Replies:** 6\
**Last updated:** [September 1, 2026, 12:36pm UTC](https://discourse.julialang.org/t/auto-convert-vector-type-to-special-container-type/139045 "2026-09-01T12:36:07Z")

</div>

I’m trying to use this unofficial CasADi interface in Julia since the official interface seems to be a long way from working (couldn’t get it installed in Julia 1.10, as stated in Project.toml). I’m having a hard time ha…

---

## [Excel files & Julia?](https://discourse.julialang.org/t/excel-files-julia/91253)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 6\
**Last updated:** [September 1, 2026, 6:14am UTC](https://discourse.julialang.org/t/excel-files-julia/91253 "2026-09-01T06:14:51Z")

</div>

It’s exam time, and I need to script the reading of content from a number of Excel files, put the information into a DataFrame, compute grades, and write the result to an Excel file. Last time I did this, I used package…

---

## [Looking for advice on package for lazily evaluated kernel matrix on the GPU](https://discourse.julialang.org/t/looking-for-advice-on-package-for-lazily-evaluated-kernel-matrix-on-the-gpu/139089)

<div class="topic-metadata">

**Author:** [@trevorgloe](https://discourse.julialang.org/u/trevorgloe)\
**Replies:** 2\
**Last updated:** [September 1, 2026, 12:37am UTC](https://discourse.julialang.org/t/looking-for-advice-on-package-for-lazily-evaluated-kernel-matrix-on-the-gpu/139089 "2026-09-01T00:37:29Z")

</div>

I am working on creating a package for lazily evaluated kernel matrices, which will work on the GPU via KernelAbstractions. The idea is to create a central object (LazyKernelMatrix) which does not allocate and evaluates …

---

## [Why does everything keep precompiling?](https://discourse.julialang.org/t/why-does-everything-keep-precompiling/139109)

<div class="topic-metadata">

**Author:** [@BananaMaster3](https://discourse.julialang.org/u/BananaMaster3)\
**Replies:** 14\
**Last updated:** [August 31, 2026, 9:09pm UTC](https://discourse.julialang.org/t/why-does-everything-keep-precompiling/139109 "2026-08-31T21:09:13Z")

</div>

Hey everybody! I’ve been using julia more and more recently, and it’s been great. The one thing that I’m finding difficult is the thing stopping me from using the language itself – that being precompilation. Whenever I…

---

## [Backporting libcurl updates?](https://discourse.julialang.org/t/backporting-libcurl-updates/139121)

<div class="topic-metadata">

**Author:** [@danielmatz](https://discourse.julialang.org/u/danielmatz)\
**Replies:** 1\
**Last updated:** [August 31, 2026, 7:01pm UTC](https://discourse.julialang.org/t/backporting-libcurl-updates/139121 "2026-08-31T19:01:03Z")

</div>

Our sys admins have flagged the libcurl that ships with Julia for security issues. They are asking us to update to at 8.21.0. I see that it got merged into master a little while ago: curl: New version 8.21.0 - Pull Reque…

---

## [Having trouble with the parse function](https://discourse.julialang.org/t/having-trouble-with-the-parse-function/139108)

<div class="topic-metadata">

**Author:** [@Guel](https://discourse.julialang.org/u/Guel)\
**Replies:** 2\
**Last updated:** [August 31, 2026, 4:29am UTC](https://discourse.julialang.org/t/having-trouble-with-the-parse-function/139108 "2026-08-31T04:29:26Z")

</div>

Hey all, I´m trying to make a very simple code where the user types a radius and julia returns the calculated area and circumference of a circle with that radius. println(“circle.jl”); println(“Escolha um raio”); raio …

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

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