# General Usage

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

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

**Page:** 37

---

## [VS Code extension language server crashing with Julia v1.12](https://discourse.julialang.org/t/vs-code-extension-language-server-crashing-with-julia-v1-12/133030)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 2\
**Last updated:** [October 10, 2025, 9:54pm UTC](https://discourse.julialang.org/t/vs-code-extension-language-server-crashing-with-julia-v1-12/133030 "2025-10-10T21:54:35Z")

</div>

When I have the release juliaup channel added, my Julia Language Server can’t start in VS Code. It gives this at the start of the output: \[ Info: Starting LS with Julia 1.12.0 Activating project at \`~/.vscode/extensi…

---

## [Julia 1.12 new --trim feature for MCU compiler](https://discourse.julialang.org/t/julia-1-12-new-trim-feature-for-mcu-compiler/133050)

<div class="topic-metadata">

**Author:** [@yvikhlya](https://discourse.julialang.org/u/yvikhlya)\
**Replies:** 7\
**Last updated:** [October 10, 2025, 9:50pm UTC](https://discourse.julialang.org/t/julia-1-12-new-trim-feature-for-mcu-compiler/133050 "2025-10-10T21:50:26Z")

</div>

./build/bin/app\_test\_exe Hello World! ls -lh build/bin/app\_test\_exe -rwxr-xr-x@ 1 gabrielbaraldi staff 1.1M Oct 6 17:22 ./build/bin/app\_test\_exe\* So, when Julia for MCUs? Comon, we have to show to all those micropy…

---

## [V1.11.7 Precompilation errors (Windows)](https://discourse.julialang.org/t/v1-11-7-precompilation-errors-windows/132497)

<div class="topic-metadata">

**Author:** [@braamvandyk](https://discourse.julialang.org/u/braamvandyk)\
**Replies:** 4\
**Last updated:** [October 10, 2025, 4:27pm UTC](https://discourse.julialang.org/t/v1-11-7-precompilation-errors-windows/132497 "2025-10-10T16:27:26Z")

</div>

I updated to Julia 1.11.7 and then ran a script to update packages in a set of projects. On two of the projects, a Windows error message popup appears: The first is for LERC\_jll while compilng Plots → UnitfulExt and the …

---

## [Identifying performant data structures](https://discourse.julialang.org/t/identifying-performant-data-structures/132992)

<div class="topic-metadata">

**Author:** [@geoffD](https://discourse.julialang.org/u/geoffD)\
**Replies:** 8\
**Last updated:** [October 10, 2025, 2:23pm UTC](https://discourse.julialang.org/t/identifying-performant-data-structures/132992 "2025-10-10T14:23:47Z")

</div>

Hi, I am coding a simulation and have a couple of possibilities for structuring the data. I’d like to sort out which is likely to be the most efficient. I’ve written toy examples for some of the options, but the results …

---

## [Grid plot and Label with CairoMakie](https://discourse.julialang.org/t/grid-plot-and-label-with-cairomakie/133034)

<div class="topic-metadata">

**Author:** [@fdekerme](https://discourse.julialang.org/u/fdekerme)\
**Replies:** 2\
**Last updated:** [October 10, 2025, 11:23am UTC](https://discourse.julialang.org/t/grid-plot-and-label-with-cairomakie/133034 "2025-10-10T11:23:58Z")

</div>

Hi everyone, I want to make a plot like this one (illustration from http://dx.doi.org/10.1118/1.4947485) with CairoMakie.jl: S nothing crazy. However, after several attempts (see code below), I am unable to obtain s…

---

## [About the adaptive time steps of Tsit5()](https://discourse.julialang.org/t/about-the-adaptive-time-steps-of-tsit5/133036)

<div class="topic-metadata">

**Author:** [@k\_zhou](https://discourse.julialang.org/u/k_zhou)\
**Replies:** 0\
**Last updated:** [October 10, 2025, 7:24am UTC](https://discourse.julialang.org/t/about-the-adaptive-time-steps-of-tsit5/133036 "2025-10-10T07:24:14Z")

</div>

Hello！ I have a short problem about the time steps of Tsit5(). Would the maximum-allowed time step of Tsit5() be larger than the limit of CFL condition? N = Int(ceil(40 \* Lc / lamda)) x\_grid = range(0, stop = Lc, len…

---

## [Usability improvements in TestItemRunner.@testmodule](https://discourse.julialang.org/t/usability-improvements-in-testitemrunner-testmodule/132513)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 2\
**Last updated:** [October 9, 2025, 9:53pm UTC](https://discourse.julialang.org/t/usability-improvements-in-testitemrunner-testmodule/132513 "2025-10-09T21:53:29Z")

</div>

There are a couple of usability improvements I’d love to see in the @testmodule functionality from TestItemRunner: The ability to load a testing module from the REPL, so I could do something like TestEnv.activate() lo…

---

## [What is included in the output of \`--trace-compile\`?](https://discourse.julialang.org/t/what-is-included-in-the-output-of-trace-compile/133016)

<div class="topic-metadata">

**Author:** [@lkdvos](https://discourse.julialang.org/u/lkdvos)\
**Replies:** 2\
**Last updated:** [October 9, 2025, 9:47pm UTC](https://discourse.julialang.org/t/what-is-included-in-the-output-of-trace-compile/133016 "2025-10-09T21:47:32Z")

</div>

I’m playing around a bit with the new --trace-compile-timing flag for julia 1.12, and while I am excited about this feature, there are a couple questions I’m having for which I can’t seem to easily find an answer. The s…

---

## [Consequences of parallel \`include\`: when is it safe?](https://discourse.julialang.org/t/consequences-of-parallel-include-when-is-it-safe/133028)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 0\
**Last updated:** [October 9, 2025, 9:18pm UTC](https://discourse.julialang.org/t/consequences-of-parallel-include-when-is-it-safe/133028 "2025-10-09T21:18:00Z")

</div>

What are the consequences of doing include in parallel threads? When is it safe?

---

## [Plot gets jumbled up when a map is applied](https://discourse.julialang.org/t/plot-gets-jumbled-up-when-a-map-is-applied/132995)

<div class="topic-metadata">

**Author:** [@Quantodeluz](https://discourse.julialang.org/u/Quantodeluz)\
**Replies:** 2\
**Last updated:** [October 9, 2025, 8:48pm UTC](https://discourse.julialang.org/t/plot-gets-jumbled-up-when-a-map-is-applied/132995 "2025-10-09T20:48:11Z")

</div>

I have some temperature decay data, and i’m trying to graph \\frac{T-T\_a}{T\_0-T\_a} vs t. So i applied a simple mapping: map(T-\>(T-Ta)/(df.temp\_cº\[1\]-Ta), df.temp\_cº), and it gave me this (with two different datasets): …

---

## [Why is there no concept of unsigned floats?](https://discourse.julialang.org/t/why-is-there-no-concept-of-unsigned-floats/14058)

<div class="topic-metadata">

**Author:** [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Replies:** 12\
**Last updated:** [October 9, 2025, 8:00pm UTC](https://discourse.julialang.org/t/why-is-there-no-concept-of-unsigned-floats/14058 "2025-10-09T20:00:27Z")

</div>

My use case may be a little simple, but why is there not an unsigned float type in any language? It seems like positive real numbers is a useful subtype for many engineering problems? Are unsigned ints only done for pe…

---

## [Curl -d data url from Julia](https://discourse.julialang.org/t/curl-d-data-url-from-julia/132975)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 9\
**Last updated:** [October 9, 2025, 1:43pm UTC](https://discourse.julialang.org/t/curl-d-data-url-from-julia/132975 "2025-10-09T13:43:15Z")

</div>

I would like to do the equivalent of run(\`curl -d data url\`) from Julia, using LibCURL or one of the wrappers. Is there a simple way to do this? (Motivation: curl may not be available on the host, but I have a working…

---

## [Artifactory proxying Julia Registries/JuliaBinaryWrappers](https://discourse.julialang.org/t/artifactory-proxying-julia-registries-juliabinarywrappers/133003)

<div class="topic-metadata">

**Author:** [@Peter\_Courcoux](https://discourse.julialang.org/u/Peter_Courcoux)\
**Replies:** 0\
**Last updated:** [October 9, 2025, 7:20am UTC](https://discourse.julialang.org/t/artifactory-proxying-julia-registries-juliabinarywrappers/133003 "2025-10-09T07:20:08Z")

</div>

Hi all, I have Artifactory proxying the JuliaRegistries/General repo. This seems to work fine. However, I need certain dependencies from JuliaBinaryWrappers and I have Artifactory proxying the releases repo. How do I te…

---

## [Either the def of \`local\` is wrong, Or the current julia behavior is unexpected](https://discourse.julialang.org/t/either-the-def-of-local-is-wrong-or-the-current-julia-behavior-is-unexpected/132903)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 32\
**Last updated:** [October 9, 2025, 6:46am UTC](https://discourse.julialang.org/t/either-the-def-of-local-is-wrong-or-the-current-julia-behavior-is-unexpected/132903 "2025-10-09T06:46:51Z")

</div>

The def: help?\> local local introduces a \_new\_ local variable. Okay. I think this make sense somehow since julia\> function f(a) local a end ERROR: syntax: local variable name "a" conflicts with an …

---

## [How to use PythonCall with string literal?](https://discourse.julialang.org/t/how-to-use-pythoncall-with-string-literal/132907)

<div class="topic-metadata">

**Author:** [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Replies:** 8\
**Last updated:** [October 9, 2025, 4:07am UTC](https://discourse.julialang.org/t/how-to-use-pythoncall-with-string-literal/132907 "2025-10-09T04:07:18Z")

</div>

I’m upgrading from older PyCall to PythonCall, but can’t figure out how make it work. I prefer to use python code as a sting to evaluate, it has nice syntax highlight, looks like normal python code and easy to copy/past…

---

## [Preventing Allocations when using AlgebraicMultigrid.jl](https://discourse.julialang.org/t/preventing-allocations-when-using-algebraicmultigrid-jl/132983)

<div class="topic-metadata">

**Author:** [@hssn15](https://discourse.julialang.org/u/hssn15)\
**Replies:** 1\
**Last updated:** [October 9, 2025, 3:10am UTC](https://discourse.julialang.org/t/preventing-allocations-when-using-algebraicmultigrid-jl/132983 "2025-10-09T03:10:14Z")

</div>

I am trying to apply AMG solver in my numerical simulator to solve big sparse linear systems (Ax=b). in order to apply it multilevel object should be created each time values of matrix A (sparsity structure is always sam…

---

## [How to see stack trace from macro expansion error](https://discourse.julialang.org/t/how-to-see-stack-trace-from-macro-expansion-error/132900)

<div class="topic-metadata">

**Author:** [@pxshen](https://discourse.julialang.org/u/pxshen)\
**Replies:** 1\
**Last updated:** [October 9, 2025, 1:27am UTC](https://discourse.julialang.org/t/how-to-see-stack-trace-from-macro-expansion-error/132900 "2025-10-09T01:27:35Z")

</div>

Hello I get Zygote error: Compiling Tuple{typeof(myfunc), OrderedDict{Symbol, Any}}: ArgumentError: array must be non-empty \[1\] macro expansion @ C:\\Users\\default.LAPTOP-HMRU58MH\\.julia\\packages\\Zygote\\55SqB\\src\\co…

---

## [Disable memory alignment inside struct](https://discourse.julialang.org/t/disable-memory-alignment-inside-struct/132942)

<div class="topic-metadata">

**Author:** [@Yotam\_Ohad](https://discourse.julialang.org/u/Yotam_Ohad)\
**Replies:** 2\
**Last updated:** [October 8, 2025, 3:37pm UTC](https://discourse.julialang.org/t/disable-memory-alignment-inside-struct/132942 "2025-10-08T15:37:24Z")

</div>

I have a (somewhat old) file that was created from a Fortran script and contains a struct without any padding. I try to read the file as follows struct Foo id::UInt32 Value::Int64 end io = open(filepath, "r") ro…

---

## [Can package names contain non-ASCII characters?](https://discourse.julialang.org/t/can-package-names-contain-non-ascii-characters/132965)

<div class="topic-metadata">

**Author:** [@phma](https://discourse.julialang.org/u/phma)\
**Replies:** 14\
**Last updated:** [October 8, 2025, 3:15pm UTC](https://discourse.julialang.org/t/can-package-names-contain-non-ascii-characters/132965 "2025-10-08T15:15:14Z")

</div>

I’m thinking of writing a package called “CàiSemiprimes” or “蔡Semiprimes” (Cài is a mathematician). Is it legal for a package name to have a non-ASCII character? To start with a character that does not have an upper/lowe…

---

## [Artifact Qt6Declarative blocked by anti-virus](https://discourse.julialang.org/t/artifact-qt6declarative-blocked-by-anti-virus/132978)

<div class="topic-metadata">

**Author:** [@henrikjaerleblad](https://discourse.julialang.org/u/henrikjaerleblad)\
**Replies:** 3\
**Last updated:** [October 8, 2025, 2:29pm UTC](https://discourse.julialang.org/t/artifact-qt6declarative-blocked-by-anti-virus/132978 "2025-10-08T14:29:19Z")

</div>

I have been working on a Julia environment on my Linux laptop for a long time. I wanted to try the environment on my other laptop, which is a Windows laptop. I cloned the Git repository and then I did a Pkg.instantiate(…

---

## [How do you write 'binding/wrapper' for some python/c++ package](https://discourse.julialang.org/t/how-do-you-write-binding-wrapper-for-some-python-c-package/27027)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 1\
**Last updated:** [October 8, 2025, 9:50am UTC](https://discourse.julialang.org/t/how-do-you-write-binding-wrapper-for-some-python-c-package/27027 "2025-10-08T09:50:37Z")

</div>

A lot of useful packages are wrappers, for example, GR, FFTW, Spark. Is there s a systematic way of writing a binding package in Julia or it’s really ‘manual’ to a large extend?

---

## [Mismatch between tree hash and version](https://discourse.julialang.org/t/mismatch-between-tree-hash-and-version/132963)

<div class="topic-metadata">

**Author:** [@Chrysoberyl](https://discourse.julialang.org/u/Chrysoberyl)\
**Replies:** 0\
**Last updated:** [October 8, 2025, 4:13am UTC](https://discourse.julialang.org/t/mismatch-between-tree-hash-and-version/132963 "2025-10-08T04:13:44Z")

</div>

The package FixedPointNumbers listed this in the Julia registry: \["0.8.5"\] git-tree-sha1 = "05882d6995ae5c12bb5f36dd2ed3f61c98cbb172" However, when I cloned FixedPointNumbers from the file General/F/FixedPointNumbers/P…

---

## [Dependencies for artifacts](https://discourse.julialang.org/t/dependencies-for-artifacts/106883)

<div class="topic-metadata">

**Author:** [@jsjie](https://discourse.julialang.org/u/jsjie)\
**Replies:** 3\
**Last updated:** [October 8, 2025, 2:40am UTC](https://discourse.julialang.org/t/dependencies-for-artifacts/106883 "2025-10-08T02:40:20Z")

</div>

I met something like ERROR: LoadError: InitError: could not load library "${USER}\\.julia\\artifacts\\${SHA}\\bin\\libiomp5md.dll" The specified module could not be found. But the file is just there. Strangely, another PC …

---

## [Python's replace faster than Julia's replace?](https://discourse.julialang.org/t/pythons-replace-faster-than-julias-replace/63180)

<div class="topic-metadata">

**Author:** [@alasaadstat](https://discourse.julialang.org/u/alasaadstat)\
**Replies:** 22\
**Last updated:** [October 7, 2025, 10:50pm UTC](https://discourse.julialang.org/t/pythons-replace-faster-than-julias-replace/63180 "2025-10-07T22:50:46Z")

</div>

Hi, I am currently working on regex stuffs, and I noticed that Python’s replace seems to be faster than Julia’s replace. function test(iter=100\_000) for \_ in 1:iter replace("The quick foxes run quickly.", r"…

---

## [Make custom type behave like Float64](https://discourse.julialang.org/t/make-custom-type-behave-like-float64/132926)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 4\
**Last updated:** [October 7, 2025, 2:12pm UTC](https://discourse.julialang.org/t/make-custom-type-behave-like-float64/132926 "2025-10-07T14:12:31Z")

</div>

(Related to Packages for colored REPL output?.) If I make a function return a custom type so that I can create a formatted show method for it, what functions do I then need to extend to make my type behave like Float64 …

---

## [Automerge skipped: should author do something?](https://discourse.julialang.org/t/automerge-skipped-should-author-do-something/132943)

<div class="topic-metadata">

**Author:** [@dankelley](https://discourse.julialang.org/u/dankelley)\
**Replies:** 2\
**Last updated:** [October 7, 2025, 10:42am UTC](https://discourse.julialang.org/t/automerge-skipped-should-author-do-something/132943 "2025-10-07T10:42:18Z")

</div>

At New version: OceanAnalysis v0.1.0 by JuliaRegistrator · Pull Request #139721 · JuliaRegistries/General · GitHub one can see an embarrassing record of trials I made a few days ago to try to submit my OceanAnalysis pack…

---

## [Taking ITensor Gradients](https://discourse.julialang.org/t/taking-itensor-gradients/132906)

<div class="topic-metadata">

**Author:** [@oskar-novak](https://discourse.julialang.org/u/oskar-novak)\
**Replies:** 1\
**Last updated:** [October 7, 2025, 12:22am UTC](https://discourse.julialang.org/t/taking-itensor-gradients/132906 "2025-10-07T00:22:57Z")

</div>

As someone relatively new to using ITensor, is there a straightforward way to integrate ITensor with an auto-differentiation library, such as Zygote.jl?

---

## [Is NonlinearSolve.jl the right package?](https://discourse.julialang.org/t/is-nonlinearsolve-jl-the-right-package/132931)

<div class="topic-metadata">

**Author:** [@co1emi11er](https://discourse.julialang.org/u/co1emi11er)\
**Replies:** 3\
**Last updated:** [October 7, 2025, 12:01am UTC](https://discourse.julialang.org/t/is-nonlinearsolve-jl-the-right-package/132931 "2025-10-07T00:01:49Z")

</div>

What is the equivalent way to do this in julia? I wasn’t able to figure it out.

---

## [Help improving the performance of my implementation of a lower diagonal storage](https://discourse.julialang.org/t/help-improving-the-performance-of-my-implementation-of-a-lower-diagonal-storage/132867)

<div class="topic-metadata">

**Author:** [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Replies:** 15\
**Last updated:** [October 6, 2025, 3:29pm UTC](https://discourse.julialang.org/t/help-improving-the-performance-of-my-implementation-of-a-lower-diagonal-storage/132867 "2025-10-06T15:29:55Z")

</div>

Hi! I am trying to build a lower diagonal storage to reduce the memory footprint of some applications. In my case, when computing spherical harmonics, the coefficients are usual placed in a lower triangular matrix. This…

---

## [Using environment variables with Plots](https://discourse.julialang.org/t/using-environment-variables-with-plots/132842)

<div class="topic-metadata">

**Author:** [@J-Holger](https://discourse.julialang.org/u/J-Holger)\
**Replies:** 2\
**Last updated:** [October 6, 2025, 12:39pm UTC](https://discourse.julialang.org/t/using-environment-variables-with-plots/132842 "2025-10-06T12:39:07Z")

</div>

Hi! I’m using the Plots (v1.41.1) package to create and save figures in Julia. Currently, I’m using PlotlyJS as backend and everything works well. The problem is that my application does not have access to internet so I…

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

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